/* =========================================================
   Chatberry — homepage hero
   Built from Figma "Weisemelon redesign" node 578:4131.
   Reference frame: 1728px wide, 1470px content box between
   the two hairline rules.  All desktop metrics below are the
   design's px values, scaled proportionally by --k.
   ========================================================= */

:root {
  --ink:        #d5d5d5;
  --lime:       #c7f368;
  --lime-soft:  #2b3303;
  --lime-ico:   #a5cd4e;
  --muted:      #888888;
  --nav-link:   #9a9a9a;
  --rule:       #1c1c1c;
  --grid-line:  #131313;
  --divider:    #323232;
  --paper:      #090909;
  --prose:      #aeaeae;    /* long-form body copy on the legal pages */

  --font-head: "Geist", "Geist Fallback", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* The design frame is 1728 wide: a 1470 content box between the hairline
     rules, with an intentional 129px white gutter on each side.
     The gutter tracks the viewport (129/1728 = 7.465%) but never grows past
     130px, so on a large screen the composition scales up to fill the width
     instead of stranding a fixed-width frame in the middle. */
  --content: 1470px;
  --gutter: min(130px, calc(100vw * 0.0746527));
  /* one design pixel. A LENGTH, so sizes read calc(<design px> * var(--u)).
     Exactly 1px at a 1728 viewport; smaller below, larger above. */
  --u: calc((100vw - 2 * var(--gutter)) / 1470);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;                 /* full-bleed rules must never add scroll */
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* legacy Edge */
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.02em;          /* measured from the Figma export */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
ul  { list-style: none; margin: 0; padding: 0; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

/* ---------- the framed page ---------- */
.frame {
  /* 1470 content + the two 1px rules; the 129px gutters are the auto margins */
  width: calc(1470 * var(--u) + 2px);
  max-width: 100%;
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

/* =========================================================
   NAV
   ========================================================= */
.navshell {
  position: sticky;
  top: 0;
  z-index: 30;
  height: calc(129 * var(--u));
  border-bottom: 1px solid var(--rule);
}
html { scroll-padding-top: calc(150 * var(--u)); }   /* anchors land below the floating bar */

.navcard {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

/* when a mega-menu is open the bar lifts into a floating card */
.navshell.is-open .navcard {
  top: calc(14 * var(--u));
  left: calc(16 * var(--u));
  right: calc(16 * var(--u));
  bottom: auto;
  background: var(--paper);
  border-color: var(--rule);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .07);
}

/* once the page scrolls the bar floats as a card and stays in place.
   The shell keeps its height so nothing below it moves. */
.navshell.is-stuck { border-bottom-color: transparent; pointer-events: none; }
.navshell.is-stuck .navcard {
  top: calc(16 * var(--u));
  left: calc(10 * var(--u));
  right: calc(10 * var(--u));
  bottom: auto;
  pointer-events: auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: calc(13 * var(--u));
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, .14);
  animation: navFloat .32s cubic-bezier(.2, .8, .2, 1);
}
.navshell.is-stuck .nav { height: calc(116 * var(--u)); padding: 0 calc(33 * var(--u)) 0 calc(42 * var(--u)); }
.navshell.is-stuck.is-open .nav { height: calc(116 * var(--u)); padding-left: calc(42 * var(--u)); padding-right: calc(33 * var(--u)); }
@keyframes navFloat { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .navshell.is-stuck .navcard { animation: none; } }

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 calc(33 * var(--u)) 0 calc(43 * var(--u));
}
.navshell.is-open .nav {
  height: calc(100 * var(--u));
  padding-left: calc(27 * var(--u));
  padding-right: calc(17 * var(--u));
  border-bottom: 1px solid var(--divider);
}

.brand img {
  height: calc(50 * var(--u));
  width: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: calc(33 * var(--u));
  margin-left: calc(26 * var(--u));
  /* CSS centres the line box; the design centres the cap height */
  transform: translateY(calc(2.2 * var(--u)));
}

.navlink {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--u));
  padding: 0;
  font-family: var(--font-body);
  font-size: calc(20 * var(--u));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--nav-link);
  cursor: pointer;
  transition: color .15s ease;
}
.navlink:hover,
.navlink[aria-expanded="true"] { color: var(--ink); }

.chev {
  width: calc(12 * var(--u));
  height: calc(7 * var(--u));
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.navlink[aria-expanded="true"] .chev { transform: rotate(180deg); }

.navactions {
  display: flex;
  align-items: center;
  gap: calc(19 * var(--u));
  margin-left: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  height: calc(54 * var(--u));
  padding: 0 calc(24 * var(--u));
  border-radius: calc(12 * var(--u));
  font-family: var(--font-body);
  font-size: calc(20 * var(--u));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--dark { background: var(--ink);  color: var(--lime); }
.btn--dark:hover { box-shadow: 0 8px 20px rgba(36, 36, 36, .22); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { box-shadow: 0 8px 22px rgba(199, 243, 104, .55); }

.btn--lg {
  height: calc(65 * var(--u));
  padding: 0 calc(26 * var(--u));
  gap: calc(16 * var(--u));
  font-size: calc(24 * var(--u));
}

.ico {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn--lg .ico { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.ico .sparkle { fill: currentColor; stroke: none; }

/* ---------- mega menu ---------- */
.mega {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  padding: calc(21 * var(--u)) 0 calc(20.6 * var(--u));
}
.mega[hidden] { display: none; }

.mega__col {
  padding: 0 calc(40 * var(--u));
  border-left: 1px solid var(--divider);
}
.mega__col:first-child { border-left: 0; }

/* Industries has no sub-groups: one full-width column whose list runs 3-up.
   The 80u gap lands each track exactly where a grouped panel's column would. */
.mega--flat { --cols: 1; }
.mega--flat .mega__col { border-left: 0; }
.mega__list--grid {
  grid-template-columns: repeat(3, 1fr);
  column-gap: calc(80 * var(--u));
}

.mega__title {
  margin: 0 0 calc(16.4 * var(--u));
  font-family: var(--font-head);
  font-size: calc(24 * var(--u));
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.mega__list { display: grid; }

.mega__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: calc(38 * var(--u));
  margin: calc(2.5 * var(--u)) calc(-13 * var(--u));
  padding: 0 calc(13 * var(--u));
  border-radius: calc(8 * var(--u));
  font-size: calc(20 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: background-color .14s ease;
}
.mega__item .arr {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .14s ease;
}
.mega__item:hover { background: var(--lime-soft); }
.mega__item:hover .arr { opacity: 1; }

/* Products: each item carries a one-line description under its name, so the
   row grows to fit two lines instead of the fixed single-line height. */
.mega__item--desc {
  height: auto;
  padding-top: calc(9 * var(--u));
  padding-bottom: calc(9 * var(--u));
}
.mega__text { display: flex; flex-direction: column; gap: calc(3 * var(--u)); min-width: 0; }
.mega__name { line-height: 1.2; }
.mega__desc {
  font-size: calc(15 * var(--u));
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.mega__item--desc .arr { flex: none; align-self: flex-start; margin-top: calc(4 * var(--u)); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: calc(799 * var(--u));
  border-bottom: 1px solid var(--rule);
}

/* 11 × 6 hairline grid */
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 11) calc(100% / 6);
  background-position: -1px -1px;
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding-left: calc(100% / 11);
  padding-top: calc(103 * var(--u));
}

.hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(64 * var(--u));
  line-height: calc(77 * var(--u));
  font-weight: 500;
  letter-spacing: -0.03em;           /* brand: headings tracking -3% */
  color: var(--ink);
}

.hero__sub {
  margin: calc(16.6 * var(--u)) 0 0;
  font-size: calc(32 * var(--u));
  line-height: calc(45 * var(--u));
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.hero__copy .btn--lg { margin-top: calc(49 * var(--u)); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: calc(16 * var(--u)); margin-top: calc(49 * var(--u)); }
.hero__cta .btn--lg { margin-top: 0; }

.apps { margin-top: calc(121 * var(--u)); }

.apps__label {
  margin: 0;
  font-size: calc(20 * var(--u));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.apps__row {
  display: flex;
  gap: calc(14 * var(--u));
  margin-top: calc(21 * var(--u));
}
.apps__row img {
  height: calc(45 * var(--u));
  width: auto;
}
.apps__row a { transition: transform .15s ease; }
.apps__row a:hover { transform: translateY(-2px); }

/* illustration */
.hero__art {
  position: absolute;
  top: calc(304 * var(--u));
  right: calc(32 * var(--u));
  width: calc(578 * var(--u));
  height: auto;
  z-index: 1;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(calc(-16 * var(--u))); }
}

/* =========================================================
   CLIENT MARQUEE
   ========================================================= */
.clients {
  height: calc(175 * var(--u));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  /* logos fade in on the left and out on the right */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0, #f6f6f6 calc(90 * var(--u)), #f6f6f6 calc(100% - 90 * var(--u)), transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0, #f6f6f6 calc(90 * var(--u)), #f6f6f6 calc(100% - 90 * var(--u)), transparent 100%);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.clients:hover .clients__track { animation-play-state: paused; }

.clients__row {
  display: flex;
  align-items: center;
  gap: calc(96 * var(--u));
  padding-right: calc(96 * var(--u));
}

.clients__row img {
  height: calc(var(--h, 52) * var(--u));
  width: auto;
  /* the track is max-content sized; a percentage max-width collapses these
     intrinsically-sized SVGs to zero width in Chromium */
  max-width: none;
  flex: none;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* =========================================================
   THE MODERN ENGINE  (markup + internals come from engine.css)
   Only the outer placement is adjusted so the section sits on the
   same gutters and vertical rhythm as the rest of the page.
   ========================================================= */
/* closing hairline, the same treatment the marquee uses above it */
.ps { border-bottom: 1px solid var(--rule); }
.ps-wrap { max-width: none; }          /* the frame already sets the width */

/* only above the section's own 980px breakpoint — below it, its rules stand */
@media (min-width: 981px) {
  .ps {
    padding: calc(103 * var(--u)) calc(67 * var(--u)) calc(96 * var(--u));
  }
  .ps-head { padding-left: calc(16 * var(--u)); }
}

/* =========================================================
   SECTION 2 — AI-FIRST / INDUSTRIES
   Measured from "section 2.png" (same 1728 frame as the hero).
   Container: 1336 wide, inset 67 from each hairline rule.
   ========================================================= */
.scale {
  padding: calc(87 * var(--u)) calc(67 * var(--u)) calc(145 * var(--u));
}

.scale__intro { padding-left: calc(16 * var(--u)); }

.scale__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(64 * var(--u));
  line-height: calc(77 * var(--u));
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #f6f6f6;
}

.scale__sub {
  margin: calc(10 * var(--u)) 0 0;
  font-size: calc(25 * var(--u));
  line-height: calc(33 * var(--u));
  letter-spacing: -0.01em;
  color: #707382;
}

/* ---------- shared card chrome ---------- */
.feature,
.vcard {
  position: relative;
  overflow: hidden;
  border-radius: calc(12 * var(--u));
  isolation: isolate;
}

.feature__bg,
.vcard__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* crop positions solved against "section 2.png" */
.feature__bg                    { object-position: 50% 27%; }
.vcard:nth-child(1) .vcard__bg  { object-position: 50% 87%; }
.vcard:nth-child(2) .vcard__bg  { object-position: 35% 50%; }

.feature::after,
.vcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* small CTA used inside the cards */
.btn--cta {
  height: calc(54 * var(--u));
  padding: 0 calc(30 * var(--u));
  gap: calc(10 * var(--u));
  font-size: calc(18 * var(--u));
  color: #f6f6f6;
}
.cta-arr {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- featured healthcare card ---------- */
.feature {
  height: calc(637 * var(--u));
  margin-top: calc(60 * var(--u));
}
.feature::after {
  background: linear-gradient(90deg,
    rgba(8, 11, 11, .94) 0%,
    rgba(8, 11, 11, .90) 22%,
    rgba(8, 11, 11, .62) 42%,
    rgba(8, 11, 11, .22) 60%,
    rgba(8, 11, 11, 0)  76%);
}

.feature__body { padding: calc(64.6 * var(--u)) calc(66 * var(--u)); }

.feature__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(48 * var(--u));
  line-height: calc(57 * var(--u));
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #090909;
}
.feature__accent { color: var(--lime); }

.feature__stages {
  width: calc(505 * var(--u));
  height: auto;
  margin-top: calc(51.4 * var(--u));
}

.feature .btn--cta { margin-top: calc(52 * var(--u)); }

/* ---------- three vertical cards ---------- */
.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(30 * var(--u));
  margin-top: calc(38 * var(--u));
}

.vcard { height: calc(508 * var(--u)); }
.vcard::after {
  background: linear-gradient(180deg,
    rgba(6, 8, 8, 0)   28%,
    rgba(6, 8, 8, .45) 52%,
    rgba(6, 8, 8, .82) 74%,
    rgba(6, 8, 8, .92) 100%);
}

.vcard__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 calc(30 * var(--u)) calc(36 * var(--u));
}

.vcard__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(48 * var(--u));
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #090909;
}

.vcard__desc {
  margin: calc(12.8 * var(--u)) 0 0;
  font-size: calc(20 * var(--u));
  line-height: calc(27 * var(--u));
  letter-spacing: -0.03em;
  color: #2a2a2a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vcard .btn--cta { margin-top: calc(19.1 * var(--u)); }

/* =========================================================
   INTERACTIVE VIDEO — EXECUTION LAYER
   Measured from "interactive video section.png". Two self-contained
   HTML animations stacked in one rounded panel; each loops on its own
   and is only loaded once the section scrolls into view.
   ========================================================= */
.reel {
  position: relative;
  padding: calc(121 * var(--u)) calc(67 * var(--u)) calc(50 * var(--u));
  /* same 145 of air below the band as above it */
  margin-bottom: calc(145 * var(--u));
  color: #090909;
}
.reel::before {                       /* full-bleed dark ground */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  /* the same black the two animations paint, so the panel has no seam */
  background: #f6f6f6;
}
.reel__head,
.reel__stage { position: relative; }

.reel__head { padding-left: calc(15 * var(--u)); }

.reel__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(56 * var(--u));
  line-height: calc(77 * var(--u));
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #090909;
}
.reel__sub {
  margin: calc(14.6 * var(--u)) 0 0;
  font-size: calc(23.8 * var(--u));
  line-height: calc(33 * var(--u));
  letter-spacing: -0.01em;
  color: #717171;
}

/* ---------- the two animations ---------- */
.reel__stage {
  margin-top: calc(96 * var(--u));
  /* edge to edge: break out of the frame and its gutters */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #f6f6f6;
  /* the frames paint their own black, so the seam between them is invisible */
  font-size: 0;
}
.reel__frame {
  display: block;
  width: 100%;
  border: 0;
}
/* native stage ratios, so each animation fills the width with no bars */
.reel__frame--flow    { aspect-ratio: 2200 / 1240; }

/* =========================================================
   SECTION 3 — PROOF / STATS
   Measured from "section 3.png" (same 1728 frame).
   Full-bleed hairlines top and bottom; a 4-card bento grid.
   ========================================================= */
.stats {
  position: relative;
  padding: 0 calc(67 * var(--u));
  /* no rules of its own: the 145 above comes from the video band's
     margin-bottom and the 145 below carries into the insights band */
  margin-top: 0;
  margin-bottom: calc(145 * var(--u));
}
.stats__grid {
  display: grid;
  /* columns and gutters as fr so the whole bento scales as one unit */
  grid-template-columns: 754fr 29fr 265.5fr 25fr 265.5fr;
  grid-template-rows: calc(266 * var(--u)) calc(28 * var(--u)) calc(296 * var(--u));
}

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: calc(12 * var(--u));
  overflow: hidden;
}

.card--growth    { grid-column: 1; grid-row: 1 / 4; display: flex; flex-direction: column; }
.card--retention { grid-column: 3; grid-row: 1; }
.card--badge     { grid-column: 5; grid-row: 1; }
.card--revenue   { grid-column: 3 / 6; grid-row: 3; position: relative; }

/* ---------- growth card ---------- */
.growth__head {
  display: flex;
  align-items: flex-start;
  padding: calc(36.6 * var(--u)) calc(37 * var(--u)) calc(30 * var(--u));
  border-bottom: 1px solid var(--rule);
}
.growth__figure { flex: none; width: calc(291 * var(--u)); }

.growth__label {
  margin: 0;
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--ink);
}
.growth__value {
  margin: calc(8 * var(--u)) 0 0;
  font-family: var(--font-head);
  font-size: calc(41 * var(--u));
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.growth__note {
  margin: calc(10 * var(--u)) 0 0;
  font-size: calc(18.7 * var(--u));
  line-height: calc(25 * var(--u));
  letter-spacing: -0.01em;
  color: #707382;
}

.growth__chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 calc(37 * var(--u)) calc(39.7 * var(--u));
}

/* dot matrix: 248 dots, 10px on an 18 x 18.333 pitch — positions taken
   straight from the reference export, so it is an exact reproduction */
.dm {
  display: block;
  width: calc(676 * var(--u));
  height: calc(322 * var(--u));
}

.dm__labels { display: flex; margin-top: calc(23.8 * var(--u)); }
.dm__label {
  font-size: calc(22 * var(--u));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #f6f6f6;
}
.dm__label--muted { color: #707382; width: calc(347 * var(--u)); }

/* ---------- retention card ---------- */
.card--retention { position: relative; padding: calc(25.3 * var(--u)) calc(26.5 * var(--u)); }
.retention__value {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(36 * var(--u));
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.retention__note {
  margin: calc(3.3 * var(--u)) 0 0;
  font-size: calc(14.6 * var(--u));
  line-height: calc(18 * var(--u));
  letter-spacing: -0.01em;
  color: #707382;
}
.bars {
  position: absolute;
  left: calc(32.5 * var(--u));
  bottom: calc(13 * var(--u));
  display: flex;
  align-items: flex-end;
  gap: calc(15 * var(--u));
}
.bars__b {
  display: block;
  width: calc(38 * var(--u));
  height: var(--h);
  background:
    linear-gradient(#464646 0 calc(4 * var(--u)), transparent 0),
    linear-gradient(#1b1b1b, #090909);
}
.bars__b--lime {
  background:
    linear-gradient(var(--lime) 0 calc(4 * var(--u)), transparent 0),
    linear-gradient(#1d2a05, #090909);
}

/* ---------- platform badge card ---------- */
.card--badge { position: relative; padding: calc(23.3 * var(--u)) calc(26.5 * var(--u)); }
.badge__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: calc(176 * var(--u));
  font-size: calc(14.6 * var(--u));
  line-height: calc(18 * var(--u));
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.badge__muted { color: #707382; font-weight: 400; }

.badge__halo {
  position: absolute;
  left: 50%;
  top: calc(214 * var(--u));
  width: calc(230 * var(--u));
  height: calc(230 * var(--u));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle closest-side,
    var(--lime) 0 57.4%,
    #344909   57.4% 73.0%,
    #222f06   73.0% 86.1%,
    #141d03   86.1% 100%);
}
.badge__halo img { width: calc(109 * var(--u)); height: auto; }

/* ---------- revenue card ---------- */
.card--revenue { padding: calc(21.2 * var(--u)) calc(28.5 * var(--u)); }
.revenue__title {
  margin: 0;
  font-size: calc(16.5 * var(--u));
  line-height: calc(21 * var(--u));
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legend {
  display: grid;
  gap: calc(10 * var(--u));
  margin: calc(19 * var(--u)) 0 0;
  font-size: calc(10 * var(--u));
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #707382;
}
.legend li { display: flex; align-items: center; gap: calc(9 * var(--u)); }
.legend__dot {
  width: calc(11 * var(--u));
  height: calc(11 * var(--u));
  border-radius: calc(3 * var(--u));
  background: #242424;
}
.legend__dot--lime { background: var(--lime); }

.revenue__chart {
  position: absolute;
  left: calc(29.5 * var(--u));
  top: calc(83 * var(--u));
  /* explicit width: the SVG has an intrinsic ratio, so left+right alone
     would let it size itself from the height and overflow the card */
  width: calc(506 * var(--u));
  height: calc(150 * var(--u));
}
.revenue__months {
  position: absolute;
  left: calc(30 * var(--u));
  right: calc(24 * var(--u));
  bottom: calc(28.8 * var(--u));
  display: flex;
  justify-content: space-between;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #707382;
}

/* =========================================================
   ANALYTICS — reveal
   .stats--anim is set by the script, so with JS off (or reduced motion)
   nothing is ever hidden; .is-live plays the reveal once, on entry.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* dot matrix: pops in column by column, left to right */
  .stats--anim .dm circle {
    opacity: 0;
    transform: scale(.3);
    transform-box: fill-box;
    transform-origin: 50% 50%;
  }
  .stats--anim.is-live .dm circle {
    animation: dmPop .44s cubic-bezier(.2, .9, .3, 1.5) both;
    animation-delay: var(--d, 0s);
  }
  @keyframes dmPop { to { opacity: 1; transform: scale(1); } }

  /* bars grow off the baseline */
  .stats--anim .bars__b { height: 0; }
  .stats--anim.is-live .bars__b {
    height: var(--h);
    transition: height .95s cubic-bezier(.2, .85, .25, 1) var(--d, 0s);
  }

  /* halo blooms out of the centre */
  .stats--anim .badge__halo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.62);
  }
  .stats--anim.is-live .badge__halo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity .7s ease .1s, transform 1s cubic-bezier(.2, .9, .3, 1.25) .1s;
  }

  /* revenue chart: lines draw, fills follow, markers land last */
  .stats--anim .revenue__chart path[stroke] {
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
  }
  .stats--anim.is-live .revenue__chart path[stroke] {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.5s cubic-bezier(.35, .75, .3, 1) .15s;
  }
  .stats--anim .revenue__chart path[fill^="url"] { opacity: 0; }
  .stats--anim.is-live .revenue__chart path[fill^="url"] {
    opacity: 1;
    transition: opacity .9s ease .45s;
  }
  .stats--anim .revenue__chart g circle { opacity: 0; }
  .stats--anim.is-live .revenue__chart g circle {
    opacity: 1;
    transition: opacity .35s ease var(--d, 0s);
  }
}

/* =========================================================
   SECTION 4 — INSIGHTS
   Measured from "section 4.png". A full-bleed dark band; the card
   rail scrolls horizontally and is clipped by the frame edge.
   ========================================================= */
.insights {
  position: relative;
  padding: calc(122.2 * var(--u)) 0 calc(161.1 * var(--u));
  color: #090909;
}
/* dark ground, painted past the frame edges to the viewport */
.insights::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--ink);
}
/* the frame's hairlines read lighter over the dark ground */
.insights::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  right: -1px;
  pointer-events: none;
  background:
    linear-gradient(#b5b5b5, #b5b5b5) left  / 1px 100% no-repeat,
    linear-gradient(#b5b5b5, #b5b5b5) right / 1px 100% no-repeat;
}
.insights__head,
.insights__rail { position: relative; }

.insights__head { position: relative; padding: 0 calc(74 * var(--u)); }

.insights__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(64 * var(--u));
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #090909;
}
.insights__meta { margin-top: calc(26 * var(--u)); }

/* "View all" sits out of flow so it cannot alter the header rhythm;
   its baseline lines up with the subtext, flush with the container edge */
.insights__all {
  position: absolute;
  right: calc(74 * var(--u));
  bottom: calc(1 * var(--u));
  display: inline-flex;
  align-items: center;
  gap: calc(9 * var(--u));
  font-size: calc(17 * var(--u));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #090909;
  white-space: nowrap;
}
.insights__all span {
  text-decoration: underline;
  text-underline-offset: calc(4 * var(--u));
  text-decoration-thickness: 1px;
}
.insights__arrow {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.insights__all:hover .insights__arrow { transform: translateX(calc(3 * var(--u))); }

.insights__sub {
  margin: 0;
  font-size: calc(25 * var(--u));
  line-height: 1;
  letter-spacing: -0.01em;
  color: #717171;
}

/* ---------- rail ---------- */
.insights__rail {
  display: flex;
  gap: calc(16 * var(--u));
  margin-top: calc(47.8 * var(--u));
  padding: 0 calc(74 * var(--u));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.insights__rail::-webkit-scrollbar { display: none; }

.icard {
  position: relative;
  flex: 0 0 calc(358 * var(--u));
  height: calc(454 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(20 * var(--u));
  background: #cbcbcb;
  border-radius: calc(12 * var(--u));
}

.icard__img {
  width: 100%;
  height: calc(206 * var(--u));
  object-fit: cover;
  border-radius: calc(6 * var(--u));
}

.icard__tag {
  margin: calc(18.1 * var(--u)) calc(8 * var(--u)) 0;
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.icard__title {
  margin: calc(16 * var(--u)) calc(8 * var(--u)) 0;
  font-family: var(--font-head);
  font-size: calc(24 * var(--u));
  line-height: calc(28 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #090909;
}

.icard__desc {
  margin: calc(6.7 * var(--u)) calc(8 * var(--u)) 0;
  font-size: calc(14.6 * var(--u));
  line-height: calc(19 * var(--u));
  letter-spacing: -0.01em;
  color: #808080;
}

.icard__btn {
  position: absolute;
  left: calc(20 * var(--u));
  bottom: calc(20 * var(--u));
  height: calc(40 * var(--u));
  padding: 0 calc(13 * var(--u));
  gap: calc(6 * var(--u));
  border-radius: calc(8 * var(--u));
  font-size: calc(13.5 * var(--u));
  color: #f6f6f6;
}
.icard__btn .cta-arr { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }

/* =========================================================
   SECTION 5 — TESTIMONIALS
   Measured from "section 5.png". Two columns: intro on the left,
   a one-at-a-time quote carousel on the right.
   ========================================================= */
.voices {
  display: grid;
  grid-template-columns: 1fr calc(640 * var(--u));
  column-gap: calc(85 * var(--u));
  padding: calc(127.1 * var(--u)) calc(73 * var(--u)) calc(130.7 * var(--u)) calc(68 * var(--u));
}

/* ---------- intro ---------- */
.voices__title {
  margin: calc(4.7 * var(--u)) 0 0;
  font-family: var(--font-head);
  font-size: calc(48 * var(--u));
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #f6f6f6;
}
.voices__sub {
  margin: calc(20.1 * var(--u)) 0 0;
  font-size: calc(19 * var(--u));
  line-height: calc(25 * var(--u));
  letter-spacing: -0.01em;
  color: #707382;
}
.voices__all {
  margin-top: calc(42.9 * var(--u));
  height: calc(54 * var(--u));
  padding: 0 calc(34 * var(--u));
  gap: calc(14 * var(--u));
  border-radius: calc(12 * var(--u));
  font-size: calc(19 * var(--u));
  color: #f6f6f6;
}
.voices__all .cta-arr { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }

/* ---------- quote stage ---------- */
.voices__stage { position: relative; }

.voice { margin: 0; }
.voice[hidden] { display: none; }

.voice__quote {
  margin: 0;
  /* fixed so the rule and the attribution stay put as quotes change */
  min-height: calc(246 * var(--u));
  font-family: var(--font-head);
  font-size: calc(30 * var(--u));
  line-height: calc(41 * var(--u));
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #f6f6f6;
}

.voice__foot {
  margin-top: calc(46.5 * var(--u));
  padding-top: calc(56.8 * var(--u));
  border-top: 1px solid #282828;
}
.voice__name {
  margin: 0;
  font-size: calc(20 * var(--u));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f6f6f6;
}
.voice__role {
  margin: calc(12.9 * var(--u)) 0 0;
  font-size: calc(18 * var(--u));
  line-height: 1;
  letter-spacing: -0.01em;
  color: #707382;
}

/* ---------- prev / next ---------- */
.voices__nav {
  position: absolute;
  right: 0;
  bottom: calc(-1.3 * var(--u));
  display: flex;
  gap: calc(16 * var(--u));
}
.vbtn {
  display: grid;
  place-items: center;
  width: calc(60 * var(--u));
  height: calc(60 * var(--u));
  border: 1px solid #1e1e1e;
  border-radius: calc(12 * var(--u));
  background: var(--paper);
  color: #818181;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.vbtn svg {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vbtn--next {
  border-color: var(--lime);
  background: #192105;
  color: #dadada;
}
.vbtn:hover { border-color: var(--lime); background: #192105; color: #dadada; }
.vbtn:disabled { opacity: .45; cursor: default; }

/* =========================================================
   FOOTER
   Measured from "footer.png": a white certification strip, then a
   full-bleed dark block whose column rules sit on the frame grid.
   ========================================================= */
.site-foot { position: relative; }
.site-foot::before {                  /* rule that closes the section above */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--rule);
}

/* ---------- certification strip ---------- */
.certs {
  position: relative;
  height: calc(175 * var(--u));
}
/* each badge is placed by its own ink position — the SVGs carry very
   different amounts of internal padding, so even spacing does not line up */
.certs img {
  position: absolute;
  top: 50%;
  left: calc(var(--x) * var(--u));
  transform: translateY(-50%);
  height: calc(var(--h) * var(--u));
  width: auto;
  max-width: none;
}

/* ---------- dark block (footer spec, Oct 2026) ----------
   Conversion column | four link columns, a hairline, then the oversized
   faded wordmark with the copyright and legal row beneath it. */
.foot {
  --footer-bg:             #e5e8e6;
  --footer-bg-secondary:   #e0e3e2;
  --footer-text-primary:   #151614;
  --footer-text-secondary: #5c625f;
  --footer-text-muted:     #767b78;
  --footer-border:         #c5cac6;
  --footer-border-hover:   #a6aca6;
  --footer-accent:         var(--lime);
  --footer-accent-text:    #e3e7de;
  --footer-wordmark-start: #5d5f5e;
  --footer-wordmark-end:   #cdd0ce;
  --foot-pad: calc(67 * var(--u));

  position: relative;
  padding: 0 var(--foot-pad);
  color: var(--footer-text-secondary);
}
.foot::before {                       /* full-bleed ground, a faint tonal lift at the top */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--footer-bg-secondary), var(--footer-bg) 45%);
  z-index: -1;
}
.foot::after {                        /* frame hairlines, lighter over the dark */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  right: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--footer-border), var(--footer-border)) left  / 1px 100% no-repeat,
    linear-gradient(var(--footer-border), var(--footer-border)) right / 1px 100% no-repeat;
}
.foot a { transition: color .18s ease-out, border-color .18s ease-out, background-color .18s ease-out; }
.foot a:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- main: conversion | navigation ---------- */
.foot__main {
  display: grid;
  grid-template-columns: 39fr 61fr;
  margin: 0 calc(-1 * var(--foot-pad));
  border-bottom: 1px solid var(--footer-border);
}
.foot__lead {
  padding: calc(68 * var(--u)) calc(52 * var(--u)) calc(48 * var(--u)) var(--foot-pad);
}
.foot__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(42 * var(--u));
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--footer-text-primary);
}
.foot__sub {
  max-width: calc(440 * var(--u));
  margin: calc(18 * var(--u)) 0 0;
  font-size: calc(18 * var(--u));
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--footer-text-secondary);
}
.foot__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  min-width: calc(248 * var(--u));
  height: calc(64 * var(--u));
  margin-top: calc(32 * var(--u));
  padding: 0 calc(22 * var(--u)) 0 calc(26 * var(--u));
  border-radius: calc(12 * var(--u));
  background: var(--footer-accent);
  font-size: calc(18 * var(--u));
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--footer-accent-text);
}
.foot__cta svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease-out; }
.foot__cta:hover { background: #5f8e00; }
.foot__cta:hover svg { transform: translate(2px, -2px); }
.foot__k {
  margin: calc(38 * var(--u)) 0 calc(14 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--footer-text-secondary);
}
.foot__stores { display: flex; flex-wrap: wrap; gap: calc(12 * var(--u)); }
.store {
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  width: calc(196 * var(--u));
  height: calc(60 * var(--u));
  padding: 0 calc(18 * var(--u));
  border: 1px solid var(--footer-border);
  border-radius: calc(11 * var(--u));
  background: rgba(9, 9, 9, .02);
  color: var(--footer-text-primary);
}
.store span { display: grid; font-size: calc(19 * var(--u)); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; }
.store small { font-size: calc(10.5 * var(--u)); font-weight: 500; letter-spacing: .02em; color: var(--footer-text-secondary); }
.store:hover { border-color: var(--footer-border-hover); }
.store__ico { width: calc(26 * var(--u)); height: calc(26 * var(--u)); flex: none; }
.foot__social { display: flex; gap: calc(12 * var(--u)); margin: 0; padding: 0; list-style: none; }
.soc {
  display: grid;
  place-items: center;
  width: calc(62 * var(--u));
  height: calc(62 * var(--u));
  border: 1px solid var(--footer-border);
  border-radius: calc(12 * var(--u));
  color: #2a2d2b;
}
.soc svg { width: 100%; height: 100%; overflow: visible; }
.soc--accent { color: var(--footer-accent); }
.soc:hover { border-color: var(--footer-border-hover); color: var(--footer-text-primary); }
.soc--accent:hover { color: var(--footer-accent); }

/* ---------- link columns ---------- */
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: calc(68 * var(--u)) var(--foot-pad) calc(48 * var(--u)) 0;
  border-left: 1px solid var(--footer-border);
}
.fcol { align-self: start; padding: 0 calc(12 * var(--u)) calc(6 * var(--u)) calc(28 * var(--u)); border-left: 1px solid #d1d5d3; }   /* separators stop with the links */
.fcol:first-child { border-left: 0; }
.fcol__title {
  margin: 0 0 calc(18 * var(--u));
  font-family: var(--font-head);
  font-size: calc(21 * var(--u));
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--footer-text-primary);
}
.fcol__list { display: grid; margin: 0; padding: 0; list-style: none; }
.fcol__list a {
  display: inline-block;
  font-size: calc(17 * var(--u));
  line-height: 1.85;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--footer-text-secondary);
}
.fcol__list a:hover, .foot__links a:hover { color: var(--footer-text-primary); }

/* ---------- brand signature ---------- */
.foot__sig { padding: calc(52 * var(--u)) 0 calc(40 * var(--u)); }
.foot__mark {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(112 * var(--u));
  line-height: .95;
  font-weight: 650;
  letter-spacing: -0.055em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--footer-wordmark-start) 0%, #848885 58%, var(--footer-wordmark-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: calc(10 * var(--u)) calc(24 * var(--u));
  margin-top: calc(20 * var(--u));
}
.foot__copy { margin: 0; font-size: calc(15 * var(--u)); letter-spacing: -0.005em; color: var(--footer-text-muted); }
.foot__links { display: flex; gap: calc(28 * var(--u)); margin: 0; padding: 0; list-style: none; }
.foot__links a { font-size: calc(15 * var(--u)); color: var(--footer-text-muted); }
@media (prefers-reduced-motion: reduce) {
  .foot a, .foot__cta svg { transition: none; }
}

/* =========================================================
   MOBILE NAV BITS
   ========================================================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   RESPONSIVE
   Scale the whole composition down with the viewport, then
   switch to a stacked layout on small screens.
   ========================================================= */
@media (max-width: 1179px) {
  :root { --u: 1px; }

  .frame { border: 0; }

  .navshell { height: 76px; }
  html { scroll-padding-top: 90px; }
  .navshell.is-stuck .navcard { top: 0; left: 0; right: 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .25); animation: none; }
  .navshell.is-stuck .nav { height: 76px; padding: 0 20px; }
  .navcard {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: auto;
    background: var(--paper);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav {
    flex-wrap: wrap;
    height: 76px;
    padding: 0 20px;
    border: 0;
  }
  .brand img { height: 34px; }
  .burger { display: flex; }

  .navlinks, .navactions { display: none; }

  /* full-screen drawer: header row, the menu, and a fixed action bar */
  .navshell.is-nav-open .navcard {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--paper);
  }
  .navshell.is-nav-open .nav {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    height: auto;
    padding: 0;
  }
  .navshell.is-nav-open .brand,
  .navshell.is-nav-open .burger { position: relative; z-index: 2; }
  .navshell.is-nav-open .brand { display: flex; align-items: center; height: 94px; padding: 0 33px; border-bottom: 1px solid var(--rule); }
  .navshell.is-nav-open .burger { position: absolute; top: 25px; right: 20px; }

  .navshell.is-nav-open .navlinks {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 22px 33px 0;
    transform: none;
  }
  .navshell.is-nav-open .navlink {
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    font-size: 24px;
    color: var(--ink);
  }
  .navshell.is-nav-open .navlink .chev { display: none; }
  .navshell.is-nav-open .navlink[data-menu]::after {
    content: "";
    width: 16px;
    height: 16px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23242424' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E");
  }

  .navshell.is-nav-open .navactions {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: 18px;
    margin: 0;
    padding: 26px 20px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule);
    background: var(--paper);
  }
  .navshell.is-nav-open .navactions .btn { width: 100%; height: 54px; padding: 0 14px; font-size: 18px; gap: 10px; }
  .navshell.is-nav-open .navactions .ico { width: 22px; height: 22px; }

  /* a section's own view, built from its mega menu by index.js */
  .mnav { display: none; }
  .navshell.is-nav-open.is-sub .navlinks { display: none; }
  .navshell.is-nav-open.is-sub .mnav {
    display: block;
    flex: 1;
    overflow-y: auto;
    padding: 22px 33px 130px;
    -webkit-overflow-scrolling: touch;
  }
  .mnav__back {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px -2px;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    cursor: pointer;
  }
  .mnav svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .mnav__back svg { width: 20px; height: 20px; }
  .mnav__g {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 0;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #c0c0c0;
    cursor: pointer;
  }
  .mnav__g svg { width: 14px; height: 14px; transition: transform .2s ease; }
  .mnav__g[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mnav__l {
    margin: 2px -4px 10px;
    padding: 12px 20px;
    border-radius: 6px;
    background: #111111;
    list-style: none;
  }
  .mnav__l[hidden] { display: none; }
  .mnav__l--flat { margin-top: 0; }
  .mnav__l a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #b1b1b1;
  }
  .mnav__l a svg { width: 14px; height: 14px; }
  .mnav__l a:active { color: var(--ink); }

  html.is-nav-locked, html.is-nav-locked body { overflow: hidden; }

  .mega { display: none !important; }

  .hero {
    height: auto;
    padding: 40px 20px 48px;
  }
  .hero__grid { display: none; }
  .hero__copy { padding: 0; }

  .hero__title {
    margin-top: 20px;
    font-size: clamp(32px, 7.4vw, 52px);
    line-height: 1.16;
  }
  .hero__title br { display: none; }
  .hero__sub {
    margin-top: 16px;
    font-size: clamp(17px, 4.4vw, 22px);
    line-height: 1.45;
  }
  .hero__sub br { display: none; }
  .hero__copy .btn--lg {
    margin-top: 28px;
    height: 54px;
    font-size: 18px;
    padding: 0 22px;
  }
  .btn--lg .ico { width: 20px; height: 20px; }
  .hero__cta { gap: 12px; margin-top: 28px; }
  .hero__cta .btn--lg { margin-top: 0; }

  .hero__art {
    position: static;
    width: 100%;
    max-width: 520px;
    margin: 32px auto 0;
  }

  .apps { margin-top: 36px; }
  .apps__label { font-size: 15px; line-height: 1.4; }
  .apps__row { margin-top: 14px; gap: 12px; }
  .apps__row img { height: 42px; }

  /* ---- section 2 ---- */
  .scale { padding: 48px 20px 56px; }
  .scale__intro { padding-left: 0; }
  .scale__title {
    font-size: clamp(28px, 6.6vw, 44px);
    line-height: 1.16;
  }
  .scale__sub {
    margin-top: 14px;
    font-size: clamp(15px, 3.9vw, 19px);
    line-height: 1.5;
  }
  .scale__title br,
  .scale__sub br { display: none; }

  .btn--cta {
    height: 46px;
    padding: 0 20px;
    gap: 8px;
    font-size: 15px;
  }
  .cta-arr { width: 14px; height: 14px; }

  .feature {
    height: auto;
    min-height: 440px;
    margin-top: 28px;
  }
  .feature::after {
    background: linear-gradient(180deg,
      rgba(8, 11, 11, .90) 0%,
      rgba(8, 11, 11, .78) 55%,
      rgba(8, 11, 11, .70) 100%);
  }
  .feature__body { padding: 28px 24px 32px; }
  .feature__title { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.2; }
  .feature__stages { width: 100%; max-width: 505px; margin-top: 26px; }
  .feature .btn--cta { margin-top: 28px; }

  .verticals {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .vcard { height: 380px; }
  .vcard__body { padding: 0 24px 26px; }
  .vcard__title { font-size: clamp(26px, 6vw, 36px); }
  .vcard__desc { margin-top: 10px; font-size: 15px; line-height: 22px; }
  .vcard .btn--cta { margin-top: 16px; }

  /* ---- section 3 ---- */
  .stats {
    padding: 40px 20px 48px;
    margin: 0 0 56px;
  }
  .stats__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }
  .card--growth, .card--retention, .card--badge, .card--revenue {
    grid-column: 1;
    grid-row: auto;
  }

  .growth__head { display: block; padding: 24px 20px 22px; }
  .growth__figure { width: auto; }
  .growth__label { font-size: 12px; }
  .growth__value { margin-top: 6px; font-size: 34px; }
  .growth__note { margin-top: 12px; font-size: 15px; line-height: 22px; }
  .growth__chart { padding: 22px 20px 24px; }
  .dm { width: 100%; height: auto; }
  .dm__labels { margin-top: 16px; }
  .dm__label { font-size: 12px; }
  .dm__label--muted { width: 52%; }

  .card--retention { padding: 20px; min-height: 260px; }
  .retention__value { font-size: 30px; }
  .retention__note { font-size: 14px; line-height: 18px; }
  .bars { left: 20px; bottom: 20px; gap: 12px; }
  .bars__b { width: 32px; height: calc(var(--h) * 0.8); }

  .card--badge { padding: 20px; min-height: 260px; overflow: hidden; }
  .badge__title { font-size: 15px; line-height: 19px; max-width: 200px; }
  .badge__halo { width: 200px; height: 200px; top: auto; bottom: -40px; transform: translateX(-50%); }
  .badge__halo img { width: 92px; }

  .card--revenue { padding: 20px; height: 280px; }
  .revenue__title { font-size: 16px; line-height: 20px; }
  .legend { margin-top: 14px; }
  .revenue__chart { left: 20px; width: calc(100% - 36px); top: 108px; height: 118px; }
  .revenue__months { left: 20px; right: 18px; bottom: 18px; font-size: 10px; }

  /* ---- section 4 ---- */
  .insights { padding: 48px 0 52px; }
  .insights::after { display: none; }
  .insights__head { padding: 0 20px; }
  .insights__title { font-size: clamp(28px, 6.6vw, 44px); line-height: 1.14; }
  .insights__meta { margin-top: 12px; }
  .insights__sub {
    font-size: clamp(15px, 3.9vw, 19px);
    line-height: 1.45;
  }
  .insights__all {
    position: static;
    margin-top: 16px;
    font-size: 15px;
  }
  .insights__arrow { width: 14px; height: 14px; }
  .insights__rail {
    margin-top: 26px;
    padding: 0 20px;
    gap: 14px;
  }
  .icard {
    flex: 0 0 270px;
    height: 400px;
    padding: 10px 10px 18px;
    border-radius: 12px;
  }
  .icard__img { height: 158px; }
  .icard__tag { margin: 16px 6px 0; font-size: 11px; }
  .icard__title { margin: 14px 6px 0; font-size: 20px; line-height: 25px; }
  .icard__desc { margin: 8px 6px 0; font-size: 13.5px; line-height: 18px; }
  .icard__btn { left: 16px; bottom: 18px; height: 38px; font-size: 13px; }

  /* ---- section 5 ---- */
  .voices {
    grid-template-columns: 1fr;
    row-gap: 34px;
    padding: 52px 20px 56px;
  }
  .voices__title { font-size: clamp(28px, 6.6vw, 42px); line-height: 1.14; }
  .voices__sub {
    margin-top: 14px;
    font-size: clamp(15px, 3.9vw, 18px);
    line-height: 1.5;
  }
  .voices__sub br { display: none; }
  .voices__all {
    margin-top: 24px;
    height: 48px;
    padding: 0 24px;
    gap: 10px;
    font-size: 16px;
  }
  .voice__quote {
    min-height: 0;
    font-size: clamp(19px, 4.9vw, 26px);
    line-height: 1.38;
  }
  .voice__foot {
    margin-top: 28px;
    padding-top: 24px;
    padding-right: 116px;      /* clear of the arrows */
    min-height: 74px;
  }
  .voice__name { font-size: 17px; }
  .voice__role { margin-top: 8px; font-size: 15px; line-height: 1.35; }
  .voices__nav { bottom: 0; gap: 12px; }
  .vbtn { width: 48px; height: 48px; border-radius: 10px; }
  .vbtn svg { width: 17px; height: 17px; }

  /* ---- footer ---- */
  .certs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px 34px;
    height: auto;
    padding: 34px 20px;
  }
  .certs img {
    position: static;
    transform: none;
    height: calc(var(--h) * 0.62px);
    flex: none;
  }

  .foot { --foot-pad: 20px; }
  .foot::after { display: none; }
  .foot__main { grid-template-columns: minmax(0, 1fr); }
  .foot__lead { padding: 44px 20px 36px; }
  .foot__title { font-size: clamp(30px, 8vw, 38px); }
  .foot__title br { display: none; }
  .foot__sub { margin-top: 12px; font-size: 16px; }
  .foot__cta { display: flex; width: 100%; min-width: 0; height: 56px; margin-top: 26px; padding: 0 20px; border-radius: 12px; font-size: 17px; }
  .foot__cta svg { width: 20px; height: 20px; }
  .foot__k { margin: 30px 0 12px; font-size: 14px; }
  .foot__stores { gap: 10px; }
  .store { flex: 1 1 150px; width: auto; height: 56px; gap: 10px; padding: 0 14px; border-radius: 11px; }
  .store span { font-size: 17px; }
  .store small { font-size: 10px; }
  .store__ico { width: 24px; height: 24px; }
  .foot__social { gap: 10px; }
  .soc { width: 54px; height: 54px; border-radius: 12px; }
  .soc svg { width: 54px; height: 54px; }

  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; padding: 36px 20px 40px; border-left: 0; border-top: 1px solid var(--footer-border); }
  .fcol { padding: 0 12px 0 0; border-left: 0; }
  .fcol:nth-child(even) { padding: 0 0 0 20px; border-left: 1px solid #d1d5d3; }
  .fcol__title { margin-bottom: 10px; font-size: 18px; }
  .fcol__list a { font-size: 16px; line-height: 1.75; min-height: 28px; white-space: normal; }

  .foot__sig { padding: 36px 0 32px; }
  .foot__mark { font-size: clamp(44px, 15.5vw, 112px); }
  .foot__legal { display: block; margin-top: 16px; }
  .foot__copy { font-size: 14px; line-height: 1.5; }
  .foot__links { gap: 22px; margin-top: 10px; }
  .foot__links a { display: inline-block; padding: 10px 0; font-size: 14px; }

  /* ---- interactive video ---- */
  .reel { padding: 48px 20px 40px; margin-bottom: 56px; }
  .reel__head { padding-left: 0; }
  .reel__title {
    font-size: clamp(26px, 6.2vw, 40px);
    line-height: 1.16;
  }
  .reel__title br { display: none; }
  .reel__sub {
    margin-top: 14px;
    font-size: clamp(15px, 3.9vw, 19px);
    line-height: 1.5;
  }
  .reel__sub br { display: none; }
  .reel__stage { margin-top: 28px; }

  .clients {
    height: 120px;
    border-top: 1px solid var(--rule);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #f6f6f6 40px, #f6f6f6 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #f6f6f6 40px, #f6f6f6 calc(100% - 40px), transparent 100%);
  }
  .clients__row { gap: 52px; padding-right: 52px; }
  .clients__row img { height: calc(var(--h, 52) * 0.72px); }
}

@media (prefers-reduced-motion: reduce) {
  .clients__track,
  .hero__art { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   PHONE MOCKUP + WHATSAPP SCREENS  (site-wide, Oct 2026)
   Every phone on the site uses the supplied device frame
   (/public/assets/img/phone-frame.svg, 440 × 916). The frame is
   drawn ON TOP of the screen: its screen and island are holes,
   and it carries the iOS status bar, so the top of every screen
   is light. Inside the screen everything is sized in --p
   (1/370 of the screen width — WhatsApp's default text size; --f is
   one point of the 402-pt frame for the status bar and home area), so a
   phone scales as a whole at any width.

     <div class="wm-phone" style="--w: 300px">
       <div class="wm-phone__screen"><div class="wm-phone__ui">
         … a .wa-chat / .wa-list / .wa-web / any screen …
       </div></div>
       <img class="wm-phone__frame" src="/public/assets/img/phone-frame.svg" alt="">
     </div>

   Any WhatsApp screen must look like WhatsApp (light iOS):
   white header, the owner's doodle wallpaper
   (/public/assets/img/whatsapp-chat-bg.jpg), white incoming and
   #0d3705 outgoing bubbles with time + blue ticks, the
   "Message" bar, the Chats list. Use the .wa-* pieces below;
   Chatberry's own inbox stays in the Chatberry product style.
   ========================================================= */
.wm-phone {
  position: relative;
  flex: none;
  width: var(--w, 300px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 440 / 916;
  align-self: center;            /* a stretched flex/grid item would ignore the ratio */
  justify-self: center;
  filter: drop-shadow(0 30px 40px rgba(17, 19, 24, .16));
}
.wm-phone__screen {
  position: absolute;
  left: 4.318%; top: 2.293%;
  width: 91.364%; height: 95.415%;
  overflow: hidden;
  background: #090909;
  container-type: size;
  /* cut to the frame's exact screen opening (Apple's continuous corner, not a
     circular radius) so the screen meets the bezel all the way round */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 402 874' preserveAspectRatio='none'%3E%3Cpath d='M100.8 0C65.5166 0 47.8748 0 34.3984 6.8662C22.5442 12.9062 12.9062 22.5442 6.8662 34.3984C0 47.8749 0 65.5166 0 100.8V773.2C0 808.483 0 826.125 6.8662 839.602C12.9062 851.456 22.5442 861.094 34.3984 867.134C47.8749 874 65.5166 874 100.8 874H301.2C336.483 874 354.125 874 367.602 867.134C379.456 861.094 389.094 851.456 395.134 839.602C402 826.125 402 808.483 402 773.2V100.8C402 65.5166 402 47.8748 395.134 34.3984C389.094 22.5442 379.456 12.9062 367.602 6.8662C354.125 0 336.483 0 301.2 0H100.8Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 402 874' preserveAspectRatio='none'%3E%3Cpath d='M100.8 0C65.5166 0 47.8748 0 34.3984 6.8662C22.5442 12.9062 12.9062 22.5442 6.8662 34.3984C0 47.8749 0 65.5166 0 100.8V773.2C0 808.483 0 826.125 6.8662 839.602C12.9062 851.456 22.5442 861.094 34.3984 867.134C47.8749 874 65.5166 874 100.8 874H301.2C336.483 874 354.125 874 367.602 867.134C379.456 861.094 389.094 851.456 395.134 839.602C402 826.125 402 808.483 402 773.2V100.8C402 65.5166 402 47.8748 395.134 34.3984C389.094 22.5442 379.456 12.9062 367.602 6.8662C354.125 0 336.483 0 301.2 0H100.8Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.wm-phone__ui {
  --f: calc(100cqw / 402);          /* one point of the frame (status bar, home area) */
  --p: calc(100cqw / 370);          /* content: WhatsApp's default (slightly larger) text size */
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", var(--font-body);
  font-size: calc(16 * var(--p));
  line-height: 1.3;
  letter-spacing: 0;
  color: #d5e1e9;
  text-align: left;
}
.wm-phone__ui p { margin: 0; }
.wm-phone__ui::after {               /* home indicator */
  content: "";
  position: absolute;
  left: 50%; bottom: calc(8 * var(--f));
  width: calc(140 * var(--f)); height: calc(5 * var(--f));
  margin-left: calc(-70 * var(--f));
  border-radius: 99px;
  background: #e6e6e6;
  z-index: 3;
}
.wm-phone__frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.wm-status { flex: none; height: calc(62 * var(--f, var(--p))); }   /* room for the frame's status bar */

/* ---------- icons (masks, so they take currentColor) ---------- */
.wa-i { display: inline-block; flex: none; width: calc(22 * var(--p)); height: calc(22 * var(--p)); background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.wa-i--back   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4.5 7.5 12l7.5 7.5'/%3E%3C/svg%3E"); }
.wa-i--video  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='13' height='12' rx='3'/%3E%3Cpath d='m15.5 10.5 6-3.5v10l-6-3.5Z'/%3E%3C/svg%3E"); }
.wa-i--call   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 3.8h3.4l1.8 4.4-2.2 1.5a11.5 11.5 0 0 0 6.3 6.3l1.5-2.2 4.4 1.8V19a1.6 1.6 0 0 1-1.7 1.6A16.4 16.4 0 0 1 3.4 5.5 1.6 1.6 0 0 1 5 3.8Z'/%3E%3C/svg%3E"); }
.wa-i--plus   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4.5v15M4.5 12h15'/%3E%3C/svg%3E"); }
.wa-i--camera { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2 2 0 0 1 5 6.5h2.2L9 4h6l1.8 2.5H19a2 2 0 0 1 2 2V18a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3Ccircle cx='12' cy='13' r='3.8'/%3E%3C/svg%3E"); }
.wa-i--mic    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='8.5' y='2.5' width='7' height='12' rx='3.5'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3.5'/%3E%3C/svg%3E"); }
.wa-i--sticker{ --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 13A8.5 8.5 0 1 1 11 3.5h3.5a6 6 0 0 0 6 6Z'/%3E%3Cpath d='M14.5 3.5v2a4 4 0 0 0 4 4h2'/%3E%3Ccircle cx='9' cy='11' r='.8' fill='%23000'/%3E%3Ccircle cx='14' cy='12.5' r='.8' fill='%23000'/%3E%3Cpath d='M8.5 15.5c1.5 1.5 4 1.5 5.5 0'/%3E%3C/svg%3E"); }
.wa-i--search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E"); }
.wa-i--dots   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.5' cy='12' r='1.8'/%3E%3Ccircle cx='12' cy='12' r='1.8'/%3E%3Ccircle cx='18.5' cy='12' r='1.8'/%3E%3C/svg%3E"); }
.wa-i--x      { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.wa-i--lock   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h.5A1.5 1.5 0 0 1 19 11.5v8a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 19.5v-8A1.5 1.5 0 0 1 6.5 10Zm2 0h6V8a3 3 0 0 0-6 0Z'/%3E%3C/svg%3E"); }
.wa-i--link   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v4.5A1.5 1.5 0 0 1 16.5 20h-11A1.5 1.5 0 0 1 4 18.5v-11A1.5 1.5 0 0 1 5.5 6H10'/%3E%3C/svg%3E"); }
.wa-i--reply  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 5 3.5 11.5 10 18M4 11.5h9a7 7 0 0 1 7 7'/%3E%3C/svg%3E"); }
.wa-i--list   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6.5h11M9 12h11M9 17.5h11M4.5 6.5h.01M4.5 12h.01M4.5 17.5h.01'/%3E%3C/svg%3E"); }
.wa-i--chats  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3Z'/%3E%3C/svg%3E"); }
.wa-i--updates{ --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8.5' stroke-dasharray='5 2.4'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3C/svg%3E"); }
.wa-i--people { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='9' cy='8.5' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.8 3.3-6 6.5-6s5.9 2.2 6.5 6'/%3E%3Cpath d='M16 5.2a3.4 3.4 0 0 1 0 6.6M18.5 14.4c1.7.8 2.7 2.8 3 5.6'/%3E%3C/svg%3E"); }
.wa-i--gear   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 2.8 2 1.6 2.5-.4 1 2.4 2.3 1.1-.4 2.5L21 12l-1.6 2 .4 2.5-2.3 1.1-1 2.4-2.5-.4-2 1.6-2-1.6-2.5.4-1-2.4-2.3-1.1.4-2.5L3 12l1.6-2-.4-2.5 2.3-1.1 1-2.4 2.5.4Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E"); }

/* ---------- a WhatsApp conversation ---------- */
.wa-chat { display: flex; flex: 1; flex-direction: column; min-height: 0; background: #0f0f0f; }
.wa-top {
  display: flex; align-items: center; gap: calc(8 * var(--p));
  padding: 0 calc(14 * var(--p)) calc(9 * var(--p)) calc(8 * var(--p));
  color: #d5e1e9;
}
.wa-head { flex: none; background: #090909; border-bottom: 1px solid #212121; }
.wa-top__back { display: inline-flex; align-items: center; gap: calc(2 * var(--p)); font-size: calc(16 * var(--p)); color: #d5e1e9; }
.wa-top__back .wa-i { width: calc(24 * var(--p)); height: calc(24 * var(--p)); }
.wa-av {
  display: inline-grid; place-items: center; flex: none;
  width: calc(36 * var(--p)); height: calc(36 * var(--p));
  border-radius: 50%; overflow: hidden;
  background: #1e2527; color: #090909;
  font-size: calc(14 * var(--p)); font-weight: 600; letter-spacing: 0;
}
.wa-av img { width: 100%; height: 100%; object-fit: cover; }
.wa-av--brand { background: var(--ink); color: var(--lime); font-family: var(--font-head); }
.wa-av--a { background: #1a00a0; } .wa-av--b { background: #25a884; } .wa-av--c { background: #f0a04b; } .wa-av--d { background: #53bdeb; } .wa-av--e { background: #9a1e42; }
.wa-top__who { flex: 1; min-width: 0; }
.wa-top__who b { display: block; overflow: hidden; font-size: calc(16.5 * var(--p)); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; color: #d5e1e9; }
.wa-top__who small { display: block; overflow: hidden; font-size: calc(12.5 * var(--p)); white-space: nowrap; text-overflow: ellipsis; color: #7d8e98; }
.wa-top__act { display: flex; gap: calc(22 * var(--p)); color: #d5e1e9; }
.wa-body {
  position: relative;
  display: flex; flex: 1; flex-direction: column; gap: calc(5 * var(--p));
  min-height: 0;
  padding: calc(12 * var(--p)) calc(12 * var(--p)) calc(10 * var(--p));
  overflow: hidden;
  /* the owner's WhatsApp wallpaper: one image, never tiled (its edges are not
     seamless). Sized to span a phone's chat area at WhatsApp's own scale and
     anchored at the top, so the doodles are the same size in every phone and
     window; anything taller continues in the wallpaper's own ground colour. */
  background: var(--wa-wall, #0f0f0f) url("/public/assets/img/whatsapp-chat-bg.jpg") center top / max(100%, calc(460 * var(--p))) auto no-repeat;
}
.wa-day { align-self: center; margin: calc(4 * var(--p)) 0 calc(6 * var(--p)) !important; padding: calc(4 * var(--p)) calc(10 * var(--p)); border-radius: calc(8 * var(--p)); background: #090909; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); font-size: calc(12 * var(--p)); font-weight: 500; color: #8e9fa9; }
.wa-sys { align-self: center; max-width: 88%; margin: calc(2 * var(--p)) 0 calc(6 * var(--p)) !important; padding: calc(6 * var(--p)) calc(10 * var(--p)); border-radius: calc(8 * var(--p)); background: #443a06; font-size: calc(11.5 * var(--p)); line-height: 1.35; text-align: center; color: #8e9fa9; }
.wa-msg {
  position: relative;
  max-width: 82%;
  margin: 0;
  padding: calc(6 * var(--p)) calc(9 * var(--p)) calc(7 * var(--p));
  border-radius: calc(9 * var(--p));
  background: #090909;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  font-size: calc(15 * var(--p));
  line-height: 1.32;
  color: #d5e1e9;
  overflow-wrap: anywhere;
}
.wa-msg--in  { align-self: flex-start; border-top-left-radius: 0; }
.wa-msg--out { align-self: flex-end; border-top-right-radius: 0; background: #0d3705; }
.wa-msg--in::before, .wa-msg--out::before {   /* the tail */
  content: ""; position: absolute; top: 0;
  width: calc(8 * var(--p)); height: calc(13 * var(--p));
  background: inherit;
}
.wa-msg--in::before  { left: calc(-7 * var(--p)); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.wa-msg--out::before { right: calc(-7 * var(--p)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-msg--cont { border-radius: calc(9 * var(--p)); }
.wa-msg--cont::before { display: none; }
.wa-msg b, .wa-msg strong { font-weight: 600; }
.wa-meta {
  float: right;
  display: inline-flex; align-items: center; gap: calc(3 * var(--p));
  margin: calc(6 * var(--p)) 0 calc(-4 * var(--p)) calc(10 * var(--p));
  font-size: calc(11 * var(--p)); line-height: 1; color: #7d8e98;
}
.wa-tick { display: inline-block; width: calc(16 * var(--p)); height: calc(11 * var(--p)); background: #53bdeb; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 11' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6l3 3 6-7.5M7 8.5l.8.8 6-7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 11' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6l3 3 6-7.5M7 8.5l.8.8 6-7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.wa-tick--grey { background: #60707b; }
.wa-who { display: block; margin-bottom: calc(2 * var(--p)); font-size: calc(13 * var(--p)); font-weight: 600; color: #88a81f; }
.wa-typing { align-self: flex-start; display: inline-flex; gap: calc(4 * var(--p)); margin: 0; padding: calc(11 * var(--p)) calc(13 * var(--p)); border-radius: calc(9 * var(--p)); border-top-left-radius: 0; background: #090909; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa-typing i { width: calc(7 * var(--p)); height: calc(7 * var(--p)); border-radius: 50%; background: #60707b; }

/* a template / interactive message: media, body, footer, buttons */
.wa-card { align-self: flex-start; width: 82%; max-width: 82%; padding: calc(4 * var(--p)) calc(4 * var(--p)) 0; }
.wa-card.wa-msg--out { align-self: flex-end; }
.wa-card__media { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: calc(7 * var(--p)); object-fit: cover; background: #1e2527; overflow: hidden; }
.wa-card__body { padding: calc(6 * var(--p)) calc(6 * var(--p)) calc(7 * var(--p)); }
.wa-card__title { display: block; margin-bottom: calc(3 * var(--p)); font-weight: 600; }
.wa-card__foot { display: block; margin-top: calc(4 * var(--p)); font-size: calc(12.5 * var(--p)); color: #7d8e98; }
.wa-btns { display: grid; margin: 0 calc(-4 * var(--p)); }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: calc(6 * var(--p));
  padding: calc(10 * var(--p)) calc(8 * var(--p));
  border-top: 1px solid #171c1e;
  font-size: calc(15 * var(--p)); font-weight: 500; color: #027eb5;
  text-align: center;
}
.wa-btn .wa-i { width: calc(17 * var(--p)); height: calc(17 * var(--p)); }
.wa-btn.is-tap { background: rgba(2, 126, 181, .08); }

/* the "Message" bar */
.wa-input {
  flex: none;
  display: flex; align-items: center; gap: calc(12 * var(--p));
  padding: calc(8 * var(--p)) calc(12 * var(--p)) calc(30 * var(--f, var(--p)));
  background: #111111;
  border-top: 1px solid #212121;
  color: #d5e1e9;
}
.wa-input__f { display: flex; flex: 1; align-items: center; justify-content: space-between; min-width: 0; height: calc(34 * var(--p)); padding: 0 calc(10 * var(--p)) 0 calc(14 * var(--p)); border: 1px solid #232323; border-radius: 99px; background: #090909; font-size: calc(15 * var(--p)); color: #60707b; }
.wa-input__f .wa-i { color: #8e9fa9; }

/* ---------- the Chats list ---------- */
.wa-list { display: flex; flex: 1; flex-direction: column; min-height: 0; background: #090909; }
.wa-list__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 calc(16 * var(--p)); color: #d5e1e9; }
.wa-list__bar span { display: inline-grid; place-items: center; width: calc(30 * var(--p)); height: calc(30 * var(--p)); border-radius: 50%; background: #111418; }
.wa-list__bar span .wa-i { width: calc(18 * var(--p)); height: calc(18 * var(--p)); }
.wa-list__bar div { display: flex; gap: calc(12 * var(--p)); }
.wa-list__bar .wa-new { background: #89aa1d; color: #090909; }
.wa-list__t { margin: calc(8 * var(--p)) calc(16 * var(--p)) calc(10 * var(--p)) !important; font-size: calc(32 * var(--p)); font-weight: 700; letter-spacing: -0.01em; }
.wa-search { display: flex; align-items: center; gap: calc(8 * var(--p)); margin: 0 calc(16 * var(--p)) calc(10 * var(--p)) !important; height: calc(36 * var(--p)); padding: 0 calc(10 * var(--p)); border-radius: calc(10 * var(--p)); background: #111418; font-size: calc(16 * var(--p)); color: #60707b; }
.wa-search .wa-i { width: calc(17 * var(--p)); height: calc(17 * var(--p)); }
.wa-pills { display: flex; gap: calc(7 * var(--p)); margin: 0 calc(16 * var(--p)) calc(6 * var(--p)) !important; }
.wa-pills span { padding: calc(6 * var(--p)) calc(13 * var(--p)); border-radius: 99px; background: #111418; font-size: calc(14 * var(--p)); font-weight: 500; color: #8e9fa9; white-space: nowrap; }
.wa-pills .is-on { background: #0d3705; color: #d6e897; }
.wa-rows { flex: 1; min-height: 0; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.wa-row { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(9 * var(--p)) calc(16 * var(--p)); }
.wa-row .wa-av { width: calc(52 * var(--p)); height: calc(52 * var(--p)); font-size: calc(18 * var(--p)); }
.wa-row__m { flex: 1; min-width: 0; padding: calc(4 * var(--p)) 0 calc(12 * var(--p)); border-bottom: 1px solid #171c1e; }
.wa-row:last-child .wa-row__m { border-bottom: 0; }
.wa-row__l { display: flex; align-items: baseline; justify-content: space-between; gap: calc(8 * var(--p)); }
.wa-row__l b { overflow: hidden; font-size: calc(16.5 * var(--p)); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.wa-row__l time { flex: none; font-size: calc(13 * var(--p)); color: #7d8e98; }
.wa-row__s { display: flex; align-items: center; justify-content: space-between; gap: calc(8 * var(--p)); margin-top: calc(3 * var(--p)) !important; }
.wa-row__s span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: calc(14.5 * var(--p)); line-height: 1.3; color: #7d8e98; }
.wa-row__s em { display: inline-grid; place-items: center; flex: none; min-width: calc(20 * var(--p)); height: calc(20 * var(--p)); padding: 0 calc(6 * var(--p)); border-radius: 99px; background: #25d366; font-style: normal; font-size: calc(12 * var(--p)); font-weight: 600; color: #090909; }
.wa-row.is-unread time { color: #89aa1d; font-weight: 600; }
.wa-tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: calc(8 * var(--p)) calc(6 * var(--p)) calc(30 * var(--f, var(--p))); border-top: 1px solid #212121; background: #0f0f0f; }
.wa-tabs span { display: grid; justify-items: center; gap: calc(3 * var(--p)); font-size: calc(11 * var(--p)); font-weight: 500; color: #d5e1e9; }
.wa-tabs .wa-i { width: calc(24 * var(--p)); height: calc(24 * var(--p)); }
.wa-tabs .is-on { color: #d5e1e9; font-weight: 700; }
.wa-tabs .is-on .wa-i { color: #89aa1d; }

/* ---------- a page opened from a WhatsApp message (in-app browser) ---------- */
.wa-web { display: flex; flex: 1; flex-direction: column; min-height: 0; background: #090909; }
.wa-web__bar { flex: none; display: grid; grid-template-columns: calc(30 * var(--p)) 1fr calc(30 * var(--p)); align-items: center; gap: calc(8 * var(--p)); padding: 0 calc(14 * var(--p)) calc(9 * var(--p)); border-bottom: 1px solid #212121; background: #111111; color: #d5e1e9; }
.wa-web__bar .wm-status { grid-column: 1 / -1; }
.wa-web__t { display: grid; justify-items: center; min-width: 0; }
.wa-web__t b { max-width: 100%; overflow: hidden; font-size: calc(14 * var(--p)); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.wa-web__t small { display: inline-flex; align-items: center; gap: calc(3 * var(--p)); font-size: calc(11.5 * var(--p)); color: #7d8e98; }
.wa-web__t small .wa-i { width: calc(10 * var(--p)); height: calc(10 * var(--p)); }
.wa-web__page { position: relative; flex: 1; min-height: 0; overflow: hidden; }

/* ---------- a WhatsApp window without the phone ----------
   For places where a full phone would be too tall (hero overlays, bento
   tiles, side-by-side comparisons). Same .wa-* pieces; --p follows the
   window's own width (capped so wide windows don't get oversized text).
     <div class="wa-win"><div class="wa-win__ui"> .wa-chat … </div></div> */
.wa-win {
  position: relative;
  overflow: hidden;
  border: 1px solid #262623;
  border-radius: 18px;
  background: #090909;
  box-shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 32px 64px -40px rgba(17, 19, 24, .26);
  container-type: inline-size;
  text-align: left;
}
.wa-win__ui {
  --p: clamp(calc(.9 * var(--u)), calc(100cqw / 402), calc(1.15 * var(--u)));   /* readable in narrow cards, never larger than a phone */
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", var(--font-body);
  font-size: calc(16 * var(--p));
  line-height: 1.3;
  letter-spacing: 0;
  color: #d5e1e9;
}
.wa-win__ui p { margin: 0; }
.wa-win .wa-top { padding-top: calc(10 * var(--p)); }
.wa-win .wa-input { padding-bottom: calc(10 * var(--p)); }
.wa-win .wa-list__t { margin-top: calc(14 * var(--p)) !important; }
.wa-win .wa-tabs { padding-bottom: calc(10 * var(--p)); }
@media (max-width: 1179px) { .wa-win { border-radius: 16px; } .wa-win__ui { --p: clamp(.86px, calc(100cqw / 402), 1.02px); } }

/* =========================================================
   FLOATING WHATSAPP BUTTON  (site-wide, Oct 2026)
   Fixed bottom-right on every page (injected by index.js). Built to the
   owner's SVG geometry (public/reference/originals/whatsapp-button.svg, 545 × 91),
   styled like the site's main buttons (owner, 26 Oct 2026): a #EDEDED pill
   515 × 81 (r 40.5) with a white 74px logo circle holding the green WhatsApp
   glyph, white Geist label, soft long shadow; the close circle turns white
   with an ink cross. Every size is design px × --sc, so it scales as one piece.
   Closed: a black round button with the green glyph and a slow green ping.
   Open: the pill spills out of the button (clip-path), the logo and words
   rise in, the glyph turns into the cross. It closes itself after 5s without a click
   (not while hovered or focused). Open/closed is remembered for the session.
   ========================================================= */
.wafab {
  --wa: #ededed;            /* the site's ink: pill + button */
  --wa-green: #25d366;      /* WhatsApp green: the glyph and the ping */
  --sc: .7033px;                               /* 91 design px → a 64px button */
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  width: calc(91 * var(--sc));
  height: calc(91 * var(--sc));
  font-family: "Geist", system-ui, -apple-system, sans-serif;
}
html.is-nav-locked .wafab { display: none; }   /* out of the way of the open mobile menu */
.wafab__pill {
  position: absolute;
  right: calc(30 * var(--sc));                  /* 545 − 515: the pill ends under the button */
  top: calc(5 * var(--sc));
  display: flex;
  align-items: center;
  width: calc(515 * var(--sc));
  height: calc(81 * var(--sc));
  box-sizing: border-box;
  padding-left: calc(4 * var(--sc));
  border-radius: calc(40.5 * var(--sc));
  background: var(--wa);
  color: #090909;
  font-size: calc(24 * var(--sc));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 calc(26 * var(--sc)) calc(56 * var(--sc)) calc(-26 * var(--sc)) rgba(0, 0, 0, .55), 0 0 0 1px rgba(9, 9, 9, .06);
  /* closed: a circle the size of the button, hidden behind it (button centre = 499.5, 40.5 in pill space) */
  clip-path: circle(calc(45.5 * var(--sc)) at calc(499.5 * var(--sc)) 50%);
  visibility: hidden;
  transition: clip-path .5s cubic-bezier(.3, 1.25, .45, 1), visibility 0s .5s;
}
.wafab__pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wafab__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: calc(74 * var(--sc));
  height: calc(74 * var(--sc));
  border-radius: 50%;
  background: #090909;
  color: var(--wa-green);
  opacity: 0;
  transform: scale(.4) rotate(-40deg);
  transition: opacity .2s ease, transform .25s ease;
}
.wafab__logo svg { width: calc(36 * var(--sc)); height: calc(36 * var(--sc)); }
.wafab__txt { margin-left: calc(15 * var(--sc)); white-space: nowrap; }   /* label starts at x 93 */
.wafab__word { display: inline-block; opacity: 0; transform: translateY(12px) rotate(4deg); transition: opacity .2s ease, transform .2s ease; }
.wafab__btn {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-green);
  cursor: pointer;
  box-shadow: 0 calc(24 * var(--sc)) calc(50 * var(--sc)) calc(-20 * var(--sc)) rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(9, 9, 9, .08);
  transition: transform .4s cubic-bezier(.34, 1.4, .64, 1), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.wafab__btn:hover { transform: translateY(-2px); }
.wafab__btn:active { transform: scale(.94); }
.wafab__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wafab__btn svg { position: absolute; transition: transform .45s cubic-bezier(.34, 1.4, .64, 1), opacity .25s ease; }
.wafab__glyph { width: calc(44 * var(--sc)); height: calc(44 * var(--sc)); }
.wafab__x { inset: 0; width: 100%; height: 100%; opacity: 0; transform: rotate(-135deg) scale(.4); }
/* the slow ping while closed */
.wafab__btn::before, .wafab__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  opacity: 0;
  pointer-events: none;
}

/* open */
.wafab.is-open .wafab__pill {
  clip-path: circle(150% at calc(499.5 * var(--sc)) 50%);
  visibility: visible;
  transition: clip-path .6s cubic-bezier(.34, 1.4, .64, 1), visibility 0s;
}
.wafab.is-open .wafab__word, .wafab.is-open .wafab__logo { opacity: 1; transform: none; transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.wafab.is-open .wafab__logo { transition-delay: .1s; }
.wafab.is-open .wafab__word:nth-child(1) { transition-delay: .16s; }
.wafab.is-open .wafab__word:nth-child(2) { transition-delay: .22s; }
.wafab.is-open .wafab__word:nth-child(3) { transition-delay: .28s; }
.wafab.is-open .wafab__word:nth-child(4) { transition-delay: .34s; }
.wafab.is-open .wafab__word:nth-child(5) { transition-delay: .4s; }
.wafab.is-open .wafab__btn { background: #090909; color: var(--wa); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 calc(14 * var(--sc)) calc(30 * var(--sc)) calc(-14 * var(--sc)) rgba(0, 0, 0, .4); }
.wafab.is-open .wafab__glyph { opacity: 0; transform: rotate(135deg) scale(.4); }
.wafab.is-open .wafab__x { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .wafab:not(.is-open) .wafab__btn::before { animation: wafabPing 3.6s ease-out infinite 1s; }
  .wafab:not(.is-open) .wafab__btn::after  { animation: wafabPing 3.6s ease-out infinite 1.5s; }
  @keyframes wafabPing { 0% { opacity: .55; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.75); } }
  /* opening: a quick squash-and-pop of the button before the pill spills out */
  .wafab.is-opening .wafab__btn { animation: wafabPop .45s cubic-bezier(.3, 1.4, .5, 1); }
  @keyframes wafabPop { 0% { transform: scale(1); } 35% { transform: scale(.82, .9); } 100% { transform: scale(1); } }
  .wafab { animation: wafabIn .6s cubic-bezier(.3, 1.4, .5, 1) .4s both; }
  @keyframes wafabIn { from { opacity: 0; transform: translateY(24px) scale(.6); } }
}
@media (prefers-reduced-motion: reduce) {
  .wafab__pill, .wafab__pill *, .wafab__btn, .wafab__btn svg { transition-duration: .01ms !important; }
}
@media (max-width: 1179px) {
  .wafab { --sc: .5934px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }   /* 54px button */
  /* the blog's back-to-top square moves up above the button */
  .has-wafab .bl-totop { bottom: 82px; }
}
