/* ==========================================================================
   HVACWard — design system
   The HVACWard design system:
   light neutral palette, framed 1200px layout, Cal Sans type,
   soft 16px cards, 12px buttons, generous vertical rhythm.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "Cal Sans";
  src: url("../fonts/CalSansVF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cal Sans Static";
  src: url("../fonts/CalSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------ variables -- */
:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #f7f7f7;

  --ink: #242424;
  --ink-2: #292929;
  --muted: #898989;
  --body: #565656;

  --line: rgba(20, 20, 20, 0.08);
  --line-strong: rgba(20, 20, 20, 0.12);
  --border: #e5e7eb;

  --brand: #101010;
  --green: #19a874;
  --green-soft: #e4f7f3;
  --blue: #0b8bff;
  --blue-soft: #eff6fe;
  --purple: #6349ea;
  --purple-soft: #f1edfe;
  --red: #ef4444;
  --red-soft: #fee2e2;
  --amber: #d97706;
  --amber-soft: #fef3c7;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-card: 0 1px 5px -4px rgba(36, 36, 36, 0.7), 0 4px 8px rgba(36, 36, 36, 0.05);
  --shadow-soft: 0 1px 2px rgba(36, 36, 36, 0.04), 0 8px 24px rgba(36, 36, 36, 0.05);
  --shadow-pop: 0 12px 32px rgba(36, 36, 36, 0.12);

  --font: "Cal Sans", "Cal Sans Static", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --frame: 1200px;
  --nav-h: 64px;
  /* inset of the full-width "huge card" panels from the frame edges */
  --panel-inset: 40px;
}

/* ---------------------------------------------------------------- reset -- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keeps anchor targets clear of the sticky nav (padding + bar + padding) */
  scroll-padding-top: calc(var(--nav-h) + 46px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}
svg {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------------------------------------------------------------- helpers -- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------ typography -- */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.display {
  font-size: clamp(2.5rem, 4.6vw, 4rem); /* 40 → 64 */
}
h2,
.h2 {
  font-size: clamp(2rem, 3.4vw, 3rem); /* 32 → 48 */
  letter-spacing: -0.02em;
}
.h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.h4 {
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.measure {
  max-width: 620px;
  margin-inline: auto;
}

/* --------------------------------------------------------------- layout -- */
.frame {
  max-width: var(--frame);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--bg);
  position: relative;
}
.section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section:first-child {
  border-top: 0;
}
/* the rounded cards always carry their own full border */
.section--surface:first-child,
.section--panel:first-child,
.section.dark:first-child {
  border-top: 1px solid var(--line);
}
/* crosshair ticks at the section/vertical-line intersections */
.section::before,
.section::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 12px;
  background: var(--line);
}
.section::before {
  left: -1px;
}
.section::after {
  right: -1px;
}
/* White and dark sections are drawn as full-width rounded panels — the same
   "huge card" treatment as the hero panel. */
.section--surface,
.section--panel {
  margin: 0 var(--panel-inset) 24px;
  padding: 72px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
/* the rounded panels sit inside the frame, so they lose the corner ticks */
.section--surface::before,
.section--surface::after,
.section--panel::before,
.section--panel::after,
.section.dark::before,
.section.dark::after {
  display: none;
}
.section--tight {
  padding: 64px 0;
}
.section--loose {
  padding: 120px 0;
}
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
.container--wide {
  max-width: 1200px;
}
.container--narrow {
  max-width: 760px;
}

/* page header block */
.about-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.about-head .lead {
  max-width: 660px;
}
.split__media img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* section header block */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 56px;
}
.section-head p {
  max-width: 620px;
}
.section-head .btn-row {
  margin-top: 10px;
}

/* eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}
.eyebrow svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.eyebrow--plain {
  box-shadow: none;
  background: transparent;
}

/* ------------------------------------------------------------------ nav -- */
/* At the top of the page the bar is flush and full-bleed so it reads as part
   of the hero. Once the page scrolls it morphs into a floating rounded card. */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0 12px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.nav__inner {
  position: relative;
  max-width: var(--frame);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(36, 36, 36, 0);
  transition: max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease,
    border-color 0.4s ease, border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}
/* morphed state — toggled by main.js once the page is scrolled */
.nav.is-scrolled {
  background: transparent;
  border-color: transparent;
  padding-inline: 12px;
}
.nav.is-scrolled .nav__inner {
  max-width: calc(var(--frame) - 48px);
  padding: 0 18px 0 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-color: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__brand svg {
  width: 26px;
  height: 26px;
}
.nav__brand img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
/* footer uses the horizontal lockup, so it needs the full wordmark width */
.nav__brand img.footer__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  color: #4b4b4b;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 20, 20, 0.05);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #292929 0%, #141414 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.15);
}
.btn--primary:hover {
  filter: brightness(1.12);
}
.btn--secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.btn--secondary:hover {
  background: var(--surface-3);
}
.btn--ghost {
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(20, 20, 20, 0.05);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15.5px;
}
.btn--sm {
  height: 34px;
  padding: 0 12px;
  font-size: 13.5px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-row--center {
  justify-content: center;
}

/* link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
}
.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ----------------------------------------------------------------- card -- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card--pad {
  padding: 28px;
}
.card--flush {
  overflow: hidden;
}
.card--hover {
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
/* hover lift only — deliberately no shadow */
.card--hover:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

/* --------------------------------------------------------------- grids --- */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* -------------------------------------------------------------- product -- */
/* mock UI surfaces used inside cards */
.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
}
.mock__title {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}
.mock__body {
  padding: 16px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-2);
}
.mock-row + .mock-row {
  margin-top: 8px;
}
.mock-row--active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfe4ff, #cfd6f7);
  flex-shrink: 0;
}
.mock-tag {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface-3);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}
.wave i {
  display: block;
  width: 3px;
  background: var(--line-strong);
  border-radius: 3px;
}
.wave i:nth-child(odd) {
  height: 60%;
}
.wave i:nth-child(3n) {
  height: 100%;
}
.wave i:nth-child(4n) {
  height: 40%;
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  border-top: 0;
  padding: 22px 0 0;
  background: var(--bg);
}
.hero .container--wide {
  max-width: 1260px;
}
.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.hero__panel--text-only {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 96px 56px 80px;
}

.hero__panel--text-only .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  gap: 22px;
}

.hero__panel--text-only .hero__copy h1 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}

.hero__panel--text-only .hero__copy p.lead {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
}

.hero__panel--text-only .hero__actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin-top: 6px;
}

.hero__panel--text-only .hero__note {
  justify-content: center;
  margin-top: -2px;
}

.hero__integrations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 940px;
}

.hero__integrations-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero__integrations-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__integration-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-2);
  padding: 6px 13px;
  white-space: nowrap;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.hero__integration-name svg {
  color: var(--accent);
}

.hero__integration-sep {
  color: var(--border-strong);
  font-size: 14px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.hero__copy h1 {
  margin-top: 2px;
}
.hero__actions {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(170deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 24px;
  padding: 22px 22px 22px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 20px 48px -12px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-showcase__status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-showcase__live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-showcase__pickup-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: #f1f5f9;
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.hero-showcase__visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 2px;
}

.hero-showcase__img {
  width: 100%;
  max-height: 250px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.07));
  transition: transform 0.3s ease;
}

.hero-showcase:hover .hero-showcase__img {
  transform: translateY(-2px) scale(1.015);
}

.hero-showcase__ticket {
  background: #111318;
  color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-showcase__ticket-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-showcase__ticket-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-showcase__ticket-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-showcase__ticket-info strong {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

.hero-showcase__ticket-info span {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}

.hero-showcase__ticket-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-showcase__ticket-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-showcase__ticket-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hero-showcase__ticket-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-showcase__ticket-val {
  font-size: 11.5px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
  white-space: normal;
}

/* Floating Badges */
.hero-floating-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
  font-size: 11.5px;
  font-weight: 600;
  color: #0f172a;
  z-index: 2;
  pointer-events: none;
}

.hero-floating-pill svg {
  color: #10b981;
}

.hero-floating-pill--top {
  top: 72px;
  right: -20px;
}

.hero-floating-pill--bottom {
  bottom: 12px;
  left: -20px;
}

@media (max-width: 768px) {
  .hero-floating-pill {
    display: none;
  }
  .hero-showcase {
    padding: 16px 14px 18px;
    border-radius: 20px;
  }
  .hero-showcase__img {
    max-height: 200px;
  }
  .hero-showcase__ticket-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ------------------------------------------------------------ logo row --- */
.logos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.logos__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logos__label {
  font-size: 13px;
  color: var(--muted);
}
.logos__item {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #9a9a9a;
  white-space: nowrap;
  filter: grayscale(1);
}

/* --------------------------------------------------------------- stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.stat {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__num span {
  color: var(--muted);
  font-size: 0.55em;
}
.stat__label {
  font-size: 15px;
  color: var(--body);
  font-weight: 500;
}
.stat__desc {
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------- cost of not answering --- */
.cost-section {
  position: relative;
  overflow: hidden;
}

.cost-container {
  max-width: 1140px;
}

.cost-stats-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.cost-stat-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(20, 20, 20, 0.07);
  border-radius: 20px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cost-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 16px 32px -4px rgba(0, 0, 0, 0.07);
}

.cost-stat-card__media {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cost-stat-card__media img {
  max-width: 100%;
  max-height: 74px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.cost-stat-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cost-stat-card__num {
  font-family: var(--font);
  font-size: clamp(1.25rem, 1.45vw, 1.7rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
  white-space: normal;
  word-break: normal;
}

.cost-stat-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
  line-height: 1.25;
  margin-bottom: 5px;
}

.cost-stat-card__desc {
  font-size: 12.5px;
  font-weight: 400;
  color: #71717a;
  line-height: 1.45;
  margin: 0;
}

.cost-stat-arrow {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b5b5be;
  width: 28px;
}

.cost-stat-arrow svg {
  display: block;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

/* ----------------- bottom visual narrative flow ----------------- */
.cost-flow {
  margin-top: 54px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cost-flow__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1040px;
  padding: 20px 10px 12px;
}

/* Soft ambient floor shadow / pedestal */
.cost-flow__stage::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2%;
  right: 2%;
  height: 52%;
  background: radial-gradient(ellipse 65% 36% at 50% 88%, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.015) 50%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.cost-flow__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cost-flow__item img {
  display: block;
  height: clamp(165px, 19vw, 210px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.02));
}

.cost-flow__item--busy img {
  max-width: 380px;
}

.cost-flow__item--dialing img {
  max-width: 220px;
}

.cost-flow__item--won img {
  max-width: 370px;
}

.cost-flow__arrow {
  position: relative;
  z-index: 1;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b5b5be;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.cost-flow__arrow svg {
  display: block;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.cost-flow__footer {
  text-align: center;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.cost-flow__kicker {
  font-size: clamp(15px, 1.3vw, 17.5px);
  font-weight: 500;
  color: #71717a;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.cost-flow__punchline {
  font-family: var(--font);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

@media (max-width: 992px) {
  .cost-stats-row {
    flex-direction: column;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    gap: 12px;
  }
  .cost-stat-card {
    width: 100%;
  }
  .cost-stat-arrow svg {
    transform: rotate(90deg);
  }
  .cost-flow__stage {
    gap: 18px;
    padding: 10px 0 10px;
  }
  .cost-flow__item img {
    height: clamp(130px, 18vw, 170px);
  }
}

@media (max-width: 640px) {
  .cost-stat-card {
    padding: 18px 16px;
    gap: 14px;
  }
  .cost-stat-card__media {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }
  .cost-stat-card__media img {
    max-height: 76px;
  }
  .cost-flow {
    margin-top: 40px;
  }
  .cost-flow__stage {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .cost-flow__stage::before {
    display: none;
  }
  .cost-flow__arrow svg {
    transform: rotate(90deg);
  }
  .cost-flow__arrow {
    margin: 2px 0;
    align-self: center;
  }
  .cost-flow__item img {
    height: clamp(150px, 45vw, 190px);
  }
}

/* ------------------------------------------------------ feature layout --- */
/* icon tile grid */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
/* hover lift only — deliberately no shadow */
.tile:hover,
.tile:focus-within {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.tile__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--ink-2);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.tile:hover .tile__icon,
.tile:focus-within .tile__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
/* description stays hidden until the tile is hovered or focused */
.tile__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.24s ease, margin-top 0.3s ease;
}
.tile:hover .tile__desc,
.tile:focus-within .tile__desc,
.tile:focus .tile__desc {
  max-height: 140px;
  opacity: 1;
  margin-top: 2px;
}
.tile__icon svg {
  width: 22px;
  height: 22px;
}
.tile__label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.tile p {
  font-size: 13px;
  color: var(--muted);
}

/* feature cards with a mock inside */
.feature-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card .mock {
  margin-top: 18px;
}
.feature-card h3 {
  font-size: 1.125rem;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ------------------------------------------------ why hvacward layout -- */
.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "always always always"
    "qualify book  knows";
  gap: 24px;
}
.why-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
}
.why-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* 1 — the anchor card: live status + pickup stats */
.why-card--always {
  grid-area: always;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  padding: 36px 40px;
}
.why-card__copy {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.why-card__media {
  flex: 1 1 52%;
  min-width: 0;
}
.why-media-frame {
  background: linear-gradient(145deg, #f7f8fa 0%, #edf0f5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}
.why-media-frame--compact {
  padding: 12px;
  margin: 4px 0 8px;
  background: linear-gradient(145deg, #f8f9fb 0%, #eef1f6 100%);
}
.why-float-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.07));
  transition: transform 0.3s ease;
}
.why-media-frame--compact .why-float-img {
  max-height: 175px;
}
.why-card:hover .why-float-img {
  transform: scale(1.02);
}

.why-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.why-stats .kpi strong {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.why-stats .kpi span {
  font-size: 12.5px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.why-live-call {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
  margin-top: 6px;
}
.why-live-call__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  display: inline-block;
}
.why-live-call__timer {
  margin-left: auto;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  color: var(--muted);
}
.why-live-call__quote {
  font-size: 13.5px !important;
  color: var(--ink-2) !important;
  line-height: 1.5 !important;
  font-style: italic;
  margin: 0;
}

.why-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.why-points-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}

.why-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.45;
}

.why-points-list li svg {
  flex-shrink: 0;
  color: #10b981;
  margin-top: 2px;
}

.why-card__tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.why-card--qualify,
.why-card--book,
.why-card--knows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card--qualify .why-media-frame--compact,
.why-card--book .why-media-frame--compact,
.why-card--knows .why-media-frame--compact {
  margin-top: auto;
}
.why-card--knows {
  background: var(--surface-2);
}
.why-note {
  font-size: 12.5px;
  color: var(--muted);
}
.why-price {
  margin-top: auto;
  padding-top: 6px;
}

/* -------------------------------------------------- features spotlight --- */
.features-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.feat-spotlight {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.feat-spotlight:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.09);
}

.feat-spotlight__media {
  background: linear-gradient(160deg, #f4f6f9 0%, #e9edf3 100%);
  padding: 24px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  min-height: 220px;
}
.feat-spotlight__media img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}
.feat-spotlight:hover .feat-spotlight__media img {
  transform: scale(1.03);
}

.feat-spotlight__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.feat-spotlight__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.feat-spotlight__tag {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.feat-spotlight__body h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 2px;
}
.feat-spotlight__body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.feat-spotlight__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.feat-spotlight__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.feat-spotlight__list li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 6 capabilities subgrid */
.features-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feat-cap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feat-cap:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.feat-cap__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.feat-cap__icon svg {
  width: 20px;
  height: 20px;
}
.feat-cap h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.feat-cap p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ------------------------------------------- missed call scenarios --- */
.section--light-tint {
  background: #fbfbfd;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.scenario-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.scenario-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.08);
}
.scenario-card__media {
  background: linear-gradient(150deg, #f4f6fa 0%, #e8edf4 100%);
  padding: 22px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  height: 190px;
}
.scenario-card__media img {
  max-height: 160px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}
.scenario-card:hover .scenario-card__media img {
  transform: scale(1.03);
}

.scenario-card__content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.scenario-card__tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.scenario-card__content h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.scenario-card__gap {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.scenario-card__gap strong {
  color: var(--ink-2);
}

.scenario-card__rescue {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scenario-card__rescue p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

.scenarios-banner {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-card);
}
.scenarios-banner__copy h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.scenarios-banner__copy p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.scenarios-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--media-right {
  direction: ltr;
}
.split__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.split__copy ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.split__copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--body);
}
.split__copy li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* numbered steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step {
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
}
.step__media {
  background: linear-gradient(150deg, #f5f7fa 0%, #ebf0f6 100%);
  padding: 22px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  height: 185px;
}
.step__media img {
  max-height: 155px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}
.step:hover .step__media img {
  transform: scale(1.03);
}
.step__body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.step__header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.step__num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.step__tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.step__body h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.step__body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.step__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
}
.step__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 500;
  line-height: 1.4;
}
.step__list li svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* timeline (fast implementation) */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: tl;
}
.timeline--illustrated {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tl-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
}

.tl-card__media {
  background: linear-gradient(145deg, #f7f8fa 0%, #edf0f5 100%);
  border-bottom: 1px solid var(--border);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.tl-card__media img {
  max-height: 128px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tl-card:hover .tl-card__media img {
  transform: scale(1.05);
}

.tl-card__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tl-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2, #f4f4f5);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.tl-card__body h3 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.3;
}

.tl-card__body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .timeline--illustrated {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .timeline--illustrated {
    grid-template-columns: 1fr;
  }
}

.tl-item {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-item__day {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tl-item h3 {
  font-size: 1.0625rem;
}
.tl-item p {
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------- dark section ---- */
.dark {
  margin: 0 var(--panel-inset) 24px;
  padding: 72px 0;
  background: #0d0c27;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  color: #c9c9d6;
  box-shadow: var(--shadow-soft);
}
.dark h2,
.dark h3,
.dark h4 {
  color: #fff;
}
.dark .lead,
.dark p {
  color: #b3b3c4;
}
.dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
}
.dark .eyebrow svg {
  color: #b3b3c4;
}
.dark .split {
  align-items: center;
}
.dark .btn--primary {
  background: #fff;
  color: #0d0c27;
  box-shadow: none;
}
.dark .btn--primary:hover {
  filter: none;
  background: #ececf5;
}
.dark .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}
.dark .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
.dark .badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d6d6e2;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.app-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.app-item:hover {
  background: rgba(255, 255, 255, 0.12);
}
.app-item svg {
  width: 30px;
  height: 30px;
}

/* recording player */
.player {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.player__play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #0d0c27;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.player__play:hover {
  transform: scale(1.05);
}
.player__play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}
.player__meta {
  flex: 1;
  min-width: 0;
}
.player__meta strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.player__meta span {
  font-size: 13px;
  color: #b3b3c4;
}
.player__track {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
  height: 28px;
}
.player__track i {
  display: block;
  flex: 1;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  height: 30%;
}
.player__track i:nth-child(2n) {
  height: 55%;
}
.player__track i:nth-child(3n) {
  height: 85%;
}
.player__track i:nth-child(5n) {
  height: 100%;
}
.player__time {
  font-size: 13px;
  color: #b3b3c4;
  font-variant-numeric: tabular-nums;
}

/* transcript */
.transcript {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.turn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.turn__who {
  width: 64px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 3px;
}
.turn--agent .turn__who {
  color: var(--green);
}
.turn--caller .turn__who {
  color: var(--purple);
}
.turn p {
  font-size: 14.5px;
  color: var(--body);
  margin: 0;
}

/* interactive player enhancements */
.player-scenarios {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.scenario-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c4c4d4;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.scenario-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.scenario-tab.is-active {
  background: #ffffff;
  color: #101010;
  border-color: #ffffff;
  font-weight: 600;
}
.player__play.is-playing {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(25, 168, 116, 0.6);
}
.player__track.is-playing i {
  animation: barBounce 0.8s ease-in-out infinite alternate;
}
.player__track i.is-active {
  background: var(--green);
}
@keyframes barBounce {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.3); }
}
.player__track i:nth-child(2n) { animation-delay: 0.1s; }
.player__track i:nth-child(3n) { animation-delay: 0.25s; }
.player__track i:nth-child(4n) { animation-delay: 0.15s; }
.player__track i:nth-child(5n) { animation-delay: 0.3s; }

.turn {
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.turn.turn--active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(25, 168, 116, 0.45);
  box-shadow: 0 0 16px rgba(25, 168, 116, 0.15);
}
.turn.turn--active p {
  color: #ffffff !important;
  font-weight: 500;
}

/* mobile sticky action bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(16, 16, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
  gap: 10px;
}
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.mobile-cta-btn--call {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-cta-btn--demo {
  background: #ffffff;
  color: #101010;
  border: 1px solid #ffffff;
}
.mobile-cta-btn:active {
  transform: scale(0.98);
}

/* integrations marquee & badges */
.integrations-marquee-wrap {
  margin-top: 36px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}
.integrations-marquee-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
}
.integrations-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.integration-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.integration-item svg {
  color: var(--green);
}

/* triage flowchart styles */
.triage-engine {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 840px) {
  .triage-engine {
    grid-template-columns: 1fr;
  }
}
.triage-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.triage-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.triage-card--urgent,
.triage-card--priority,
.triage-card--standard {
  border-top: 1px solid var(--border);
}
.triage-level {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--ink);
  border: 1px solid var(--line);
  width: fit-content;
}
.triage-card--urgent .triage-level,
.triage-card--priority .triage-level,
.triage-card--standard .triage-level {
  background: var(--surface-3);
  color: var(--ink);
  border: 1px solid var(--border);
}
.triage-card h4 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}
.triage-card p {
  font-size: 14px;
  color: var(--body);
  margin: 0 0 18px;
  line-height: 1.5;
}
.triage-action {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--surface-3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.triage-action svg {
  color: var(--ink);
}

/* Day in the life comparison */
.day-comparison {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .day-comparison {
    grid-template-columns: 1fr;
  }
}
.day-col {
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.day-col--bad {
  background: var(--surface);
  border: 1px solid var(--border);
}
.day-col--good {
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.day-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.day-col-header svg {
  color: var(--ink);
}
.day-col-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}
.day-timeline-item {
  margin-bottom: 20px;
}
.day-timeline-time {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.day-timeline-desc {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}

/* onboarding breakdown card */
.onboarding-breakdown {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.onboarding-step {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-3);
  border: 1px solid var(--line);
}
.onboarding-step h4 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--ink);
}
.onboarding-step p {
  font-size: 13.5px;
  color: var(--body);
  margin: 0;
  line-height: 1.45;
}

/* will be added card */
.will-be-added-card {
  padding: 56px 36px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  max-width: 680px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.will-be-added-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 4px;
}
.will-be-added-card h3 {
  font-size: 24px;
  margin: 0;
  color: var(--ink);
}

/* --------------------------------------------------------------- pricing -- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-pop);
  position: relative;
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.plan__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}
.plan__desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__price strong {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.plan__price span {
  font-size: 14px;
  color: var(--muted);
}
.plan__setup {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: -10px;
}
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 2px;
}
.plan__list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--body);
}
.plan__list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}
.plan__cta {
  margin-top: auto;
}

/* ------------------------------------------------------------ calculator -- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}
.calc__inputs {
  padding: 32px;
  border-right: 1px solid var(--border);
}
.calc__result {
  padding: 32px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  margin-bottom: 22px;
}
.field:last-child {
  margin-bottom: 0;
}
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label output {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
}
.field input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}
.calc__big {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.calc__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  color: var(--body);
}
.calc__row strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc__note {
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------- testimonials -- */
.carousel {
  position: relative;
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.quote {
  flex: 0 0 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0.55;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.quote--active {
  opacity: 1;
  box-shadow: var(--shadow-soft);
}
.quote__text {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote__who img,
.quote__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
}
.quote__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.quote__role {
  font-size: 12.5px;
  color: var(--muted);
}
.carousel__nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.carousel__btn:hover {
  background: var(--surface-3);
}
.carousel__btn svg {
  width: 16px;
  height: 16px;
}
.carousel__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* wall of love */
.wall {
  columns: 3;
  column-gap: 20px;
}
.wall .card {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 22px;
}
.wall__text {
  font-size: 14.5px;
  color: var(--ink-2);
}
.wall .quote__who {
  margin-top: 16px;
}

/* ---------------------------------------------------------------- FAQ ---- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}
.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq__icon::before {
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
}
.faq__icon::after {
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
}
.faq__item[open] .faq__icon::after {
  transform: scaleY(0);
}
.faq__a {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--muted);
}
.faq__item[open] .faq__q {
  padding-bottom: 10px;
}

/* ---------------------------------------------------------------- quote -- */
.pullquote {
  padding: 40px;
  text-align: center;
  background: var(--surface);
}
.pullquote blockquote {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------- CTA/contact */
.cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.form-card {
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-field--full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.08);
}
.form-note {
  font-size: 12.5px;
  color: var(--muted);
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--green);
  display: none;
}
.form-status.is-visible {
  display: block;
}
.contact-detail {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child {
  border-bottom: 0;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.contact-detail span {
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------- utility + mocks -- */
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stack--sm {
  gap: 8px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row--between {
  justify-content: space-between;
}
.row--wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--body);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.badge svg {
  width: 12px;
  height: 12px;
}
.badge--success {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.badge--live {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--ink);
}
.badge--live .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
.avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  flex-shrink: 0;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kpi strong {
  font-size: 1.05rem;
  color: var(--ink);
}
.kpi span {
  font-size: 12px;
  color: var(--muted);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.slot {
  padding: 9px 4px;
  text-align: center;
  font-size: 12.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  background: var(--surface);
}
.slot--on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.slot--muted {
  color: #c2c2c2;
  background: var(--surface-2);
}
.mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mini-cal span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  border-radius: 6px;
  color: var(--ink-2);
}
.mini-cal span.dim {
  color: #c2c2c2;
}
.mini-cal span.on {
  background: var(--ink);
  color: #fff;
}
.mini-cal span.today {
  background: var(--surface-3);
}
.skew-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donut {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--ink) 0 68%, var(--surface-3) 68% 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.donut::after {
  content: "68%";
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* -------------------------------------------------------------- articles -- */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose > * + * {
  margin-top: 22px;
}
.prose h2 {
  font-size: 1.75rem;
  margin-top: 44px;
}
.prose h3 {
  font-size: 1.25rem;
  margin-top: 32px;
}
.prose p,
.prose li {
  font-size: 16.5px;
  color: var(--body);
  line-height: 1.7;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 8px;
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a.btn,
.prose .btn {
  text-decoration: none !important;
}
.prose a.btn--primary,
.prose .btn--primary {
  color: #ffffff !important;
  text-decoration: none !important;
}
.prose a.btn--secondary,
.prose .btn--secondary {
  color: var(--ink) !important;
  text-decoration: none !important;
}
.prose blockquote {
  border-left: 3px solid var(--line-strong);
  padding-left: 20px;
  color: var(--ink);
  font-size: 1.1rem;
}
.prose img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.prose figure figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.article-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.article-meta img,
.article-meta .quote__avatar {
  width: 32px;
  height: 32px;
}

.article-featured-media {
  max-width: 780px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #f7f8fa 0%, #edf0f5 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
}
.article-featured-media img {
  max-height: 380px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.post-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f7f8fa 0%, #edf0f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px;
}
.post-card__media svg {
  width: 84px;
  height: 84px;
  opacity: 0.9;
}
.post-card__media img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.07));
}
.post-card:hover .post-card__media img {
  transform: scale(1.04);
}
.post-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card h3 {
  font-size: 1.0625rem;
}
.post-card p {
  font-size: 14px;
  color: var(--muted);
}
.post-card .link-arrow {
  margin-top: auto;
}

/* -------------------------------------------------------------- footer --- */
.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 44px;
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1.25fr);
  gap: 40px 36px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 330px;
}
.footer__brand .nav__brand {
  font-size: 20px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  width: fit-content;
}
.footer__status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.footer__contact-info a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.footer__contact-info a:hover {
  text-decoration: underline;
}
.footer__col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.15s ease;
  line-height: 1.4;
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--ink);
}
.footer__trust {
  margin-top: 48px;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__trust-items {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-secondary);
  font-weight: 500;
}
.footer__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer__trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.footer__bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.footer__bottom-links a:hover {
  color: var(--ink);
}
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.footer__social a:hover {
  color: var(--ink);
  background: rgba(20, 20, 20, 0.04);
  border-color: var(--line-strong);
}
.footer__social svg {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------- compare -- */
.compare-wrap {
  overflow-x: auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}
.compare th,
.compare td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare thead th {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line-strong);
}
.compare tbody th {
  font-weight: 500;
  color: var(--ink);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare td {
  color: var(--body);
}
.compare .col-hi {
  background: var(--surface-2);
}
.compare .yes svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.compare .no {
  color: #c2c2c2;
}

/* ---------------------------------------------------------------- legal -- */
.legal-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.legal-meta {
  font-size: 13.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------ animation -- */
/* Elements start hidden only when JS is available, so the page still reads
   perfectly with JavaScript disabled. GSAP drives the reveal. */
/* a container that staggers its children must stay visible itself */
.js [data-anim]:not([data-anim-stagger]) {
  opacity: 0;
}
.js [data-anim="up"]:not([data-anim-stagger]) {
  transform: translateY(22px);
}
.js [data-anim="scale"]:not([data-anim-stagger]) {
  transform: scale(0.965);
}
.js [data-anim-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
}
/* once GSAP has taken over, clear the CSS-held state so it cannot fight */
.js .is-animated[data-anim],
.js .is-animated[data-anim-stagger] > * {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------ responsive - */
@media (max-width: 1080px) {
  .hero__panel {
    grid-template-columns: 1fr;
    padding: 56px 40px;
  }
  .tile-grid,
  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .why {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "always always"
      "qualify book"
      "knows  knows";
  }
  .features-spotlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-spotlight .feat-spotlight:last-child {
    grid-column: span 2;
  }
  .features-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px 20px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
  }
  .nav.is-open .nav__links a {
    padding: 12px 12px;
  }
  .section {
    padding: 64px 0;
  }
  .container {
    padding: 0 24px;
  }
  .grid--3,
  .grid--4,
  .steps,
  .stats,
  .pricing,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .grid--2,
  .split,
  .calc,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .calc__inputs {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .wall {
    columns: 1;
  }
  .tile-grid,
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .why {
    grid-template-columns: 1fr;
    grid-template-areas: "always" "qualify" "book" "knows";
  }
  .why-card {
    padding: 22px 20px;
  }
  .why-card--always {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 20px;
  }
  .why-card__copy,
  .why-card__media {
    flex: 1 1 auto;
  }
  .features-spotlight {
    grid-template-columns: 1fr;
  }
  .features-spotlight .feat-spotlight:last-child {
    grid-column: auto;
  }
  .features-capabilities {
    grid-template-columns: 1fr;
  }
  .scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scenarios-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    gap: 20px;
  }
  .scenarios-banner__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: -1;
  }
  .hero__panel {
    padding: 40px 24px;
  }
}

@media (max-width: 640px) {
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .hero__panel {
    padding: 32px 18px;
  }
  .card--pad,
  .feature-card,
  .plan,
  .calc__inputs,
  .calc__result,
  .form-card {
    padding: 22px;
  }
  .feat-spotlight__body {
    padding: 20px 18px 24px;
  }
  .feat-cap {
    padding: 16px 18px;
  }
  .scenario-card__content {
    padding: 18px 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .carousel__track,
  .tile,
  .card--hover {
    transition: none;
  }
  .js [data-anim],
  .js [data-anim-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .tile__desc {
    transition: none;
  }
}

/* ------------------------------------------------ share-card fallback -- */
.share-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.share-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.share-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.share-card__label {
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.share-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------- floating dock & action buttons -- */
.hvacward-floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.hvacward-floating-dock > * {
  pointer-events: auto;
}
.hvacward-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  outline: none;
}
.hvacward-float-btn:hover,
.hvacward-float-btn:focus-visible {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.hvacward-float-btn:active {
  transform: translateY(0) scale(0.98);
}
.hvacward-float-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* WhatsApp Floating Button */
.hvacward-float-btn--whatsapp {
  background: #25D366;
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
}
.hvacward-float-btn--whatsapp:hover {
  background: #20bd5a;
}
.hvacward-float-btn--whatsapp svg {
  fill: currentColor;
}

/* AI Chat Floating Button */
.hvacward-float-btn--ai {
  background: #0b0c0e;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}
.hvacward-float-btn--ai:hover {
  background: #1c1e24;
}
.hvacward-float-btn--ai svg {
  fill: currentColor;
}
.hvacward-float-btn--ai .ai-icon-open,
.hvacward-float-btn--ai .ai-icon-close {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hvacward-float-btn--ai .ai-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}
.hvacward-float-btn--ai.is-active .ai-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}
.hvacward-float-btn--ai.is-active .ai-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Tooltip Badges */
.hvacward-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0b0c0e;
  color: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hvacward-float-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #0b0c0e;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.hvacward-float-btn:hover .hvacward-float-tooltip,
.hvacward-float-btn:focus-visible .hvacward-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --------------------------------------------- AI Chatbot Modal/Window -- */
.hvacward-chat-window {
  position: fixed;
  bottom: 24px;
  right: 90px;
  width: 385px;
  max-width: calc(100vw - 110px);
  height: 560px;
  max-height: calc(100vh - 48px);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.24), 0 0 1px 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hvacward-chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat Header */
.hvacward-chat-header {
  background: #0b0c0e;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hvacward-chat-header__info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hvacward-chat-header__avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #1a1c22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hvacward-chat-header__avatar img,
.hvacward-chat-header__avatar svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.hvacward-chat-header__text h3 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}
.hvacward-chat-header__status {
  font-size: 11.5px;
  color: #a0a5b0;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.hvacward-chat-header__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.6);
}
.hvacward-chat-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hvacward-chat-header__btn {
  background: transparent;
  border: none;
  color: #a0a5b0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.hvacward-chat-header__btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.hvacward-chat-header__btn svg {
  width: 16px;
  height: 16px;
}

/* Chat Messages Thread */
.hvacward-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8f9fb;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.hvacward-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: hvacwardFadeIn 0.2s ease forwards;
}
@keyframes hvacwardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.hvacward-chat-msg--assistant {
  align-self: flex-start;
}
.hvacward-chat-msg--user {
  align-self: flex-end;
}
.hvacward-chat-bubble {
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.48;
  word-break: break-word;
}
.hvacward-chat-msg--assistant .hvacward-chat-bubble {
  background: #ffffff;
  color: #111317;
  border: 1px solid #e5e8ed;
  border-radius: 14px 14px 14px 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.hvacward-chat-msg--user .hvacward-chat-bubble {
  background: #0b0c0e;
  color: #ffffff;
  border-radius: 14px 14px 2px 14px;
}
.hvacward-chat-bubble p {
  margin: 0 0 8px;
}
.hvacward-chat-bubble p:last-child {
  margin-bottom: 0;
}
.hvacward-chat-bubble ul,
.hvacward-chat-bubble ol {
  margin: 4px 0 8px 18px;
  padding: 0;
}
.hvacward-chat-bubble li {
  margin-bottom: 4px;
}
.hvacward-chat-bubble strong {
  font-weight: 600;
}
.hvacward-chat-bubble a {
  color: #0b0c0e;
  text-decoration: underline;
  font-weight: 500;
}
.hvacward-chat-msg--user .hvacward-chat-bubble a {
  color: #ffffff;
}

/* Quick Prompt Suggestions */
.hvacward-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.hvacward-chat-chip {
  background: #ffffff;
  border: 1px solid #dcdfe5;
  border-radius: 100px;
  padding: 6px 11px;
  font-size: 12px;
  color: #111317;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.hvacward-chat-chip:hover {
  background: #0b0c0e;
  color: #ffffff;
  border-color: #0b0c0e;
}

/* Typing / Loading Indicator */
.hvacward-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e5e8ed;
  border-radius: 14px 14px 14px 2px;
  width: fit-content;
}
.hvacward-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #737985;
  animation: hvacwardBounce 1.4s infinite ease-in-out both;
}
.hvacward-chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.hvacward-chat-typing span:nth-child(2) { animation-delay: -0.16s; }
@keyframes hvacwardBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Chat Input Bar */
.hvacward-chat-inputarea {
  background: #ffffff;
  border-top: 1px solid #e8eaee;
  padding: 12px 14px;
}
.hvacward-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hvacward-chat-input {
  flex: 1;
  height: 40px;
  padding: 8px 14px;
  border: 1px solid #d8dbe0;
  border-radius: 20px;
  font-size: 13.5px;
  font-family: inherit;
  color: #111317;
  background: #fdfdfd;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hvacward-chat-input:focus {
  border-color: #0b0c0e;
  box-shadow: 0 0 0 3px rgba(11, 12, 14, 0.08);
}
.hvacward-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0b0c0e;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.hvacward-chat-send:hover:not(:disabled) {
  background: #252830;
  transform: scale(1.05);
}
.hvacward-chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.hvacward-chat-send svg {
  width: 17px;
  height: 17px;
}
.hvacward-chat-disclaimer {
  font-size: 11px;
  color: #8c929d;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Mobile Responsiveness for Floating Elements */
@media (max-width: 480px) {
  .hvacward-floating-dock {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .hvacward-float-btn {
    width: 48px;
    height: 48px;
  }
  .hvacward-float-btn svg {
    width: 22px;
    height: 22px;
  }
  .hvacward-chat-window {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 82vh;
    max-height: 85vh;
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

