/* Shared header and footer for every page. Rendered by scripts/site-chrome.mjs,
   driven by site-chrome.js. Class names are cd-* so the legacy page
   stylesheets (styles.css, lead-magnets.css, product-overview.css) cannot
   reach them. */

@font-face {
  font-family: "Satoshi";
  src: url("/Babun%20-%20Business%20&%20Finance%20HTML5%20Template/Template/babun/fonts/Satoshi/fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/Babun%20-%20Business%20&%20Finance%20HTML5%20Template/Template/babun/fonts/Satoshi/fonts/Satoshi-Bold.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cd-ink: #0b0d10;
  --cd-text: #14181c;
  --cd-muted: #6b7378;
  --cd-accent: #335cff;
  --cd-line: rgba(20, 24, 28, 0.08);
  --cd-font: "Satoshi", Inter, "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cd-gutter: clamp(16px, 2.5vw, 36px);
  --cd-ease: cubic-bezier(0.22, 0.8, 0.22, 1);
}

.cd-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--cd-ink);
  font: 600 15px/1 var(--cd-font);
}

.cd-skip-link:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- Header */

.cd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
  background: rgba(11, 13, 16, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--cd-font);
  transition:
    background 220ms var(--cd-ease),
    border-color 220ms var(--cd-ease),
    box-shadow 220ms var(--cd-ease);
}

.cd-header *,
.cd-footer * {
  box-sizing: border-box;
}

/* Homepage: floats over the hero photo until the page scrolls, a menu opens
   or the mobile drawer is out. */
.cd-header--overlay {
  position: fixed;
  right: 0;
  left: 0;
  background: transparent;
  border-bottom-color: transparent;
}

.cd-header--overlay.is-scrolled,
.cd-header--overlay.is-menu-open,
.cd-header--overlay.is-drawer-open {
  background: rgba(11, 13, 16, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cd-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cd-header__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 0 var(--cd-gutter);
}

.cd-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.cd-header__brand img {
  display: block;
  width: auto;
  height: 32px;
}

.cd-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.cd-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
}

.cd-nav__link {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.cd-nav__link:hover,
.cd-nav__item.is-open > .cd-nav__link {
  color: #fff;
}

.cd-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  background: none;
  cursor: pointer;
}

.cd-nav__toggle svg {
  transition: transform 180ms var(--cd-ease);
}

.cd-nav__item.is-open > .cd-nav__toggle svg {
  transform: rotate(180deg);
}

.cd-nav__drawer-actions {
  display: none;
}

.cd-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
}

.cd-header__lang,
.cd-header__login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.cd-header__lang:hover,
.cd-header__login:hover {
  color: #fff;
}

.cd-header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 160ms var(--cd-ease),
    color 160ms var(--cd-ease);
}

.cd-header__cta:hover {
  color: var(--cd-ink);
  background: #fff;
}

.cd-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.cd-header__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 180ms var(--cd-ease),
    opacity 180ms var(--cd-ease);
}

.cd-header.is-drawer-open .cd-header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.cd-header.is-drawer-open .cd-header__burger span:nth-child(2) {
  opacity: 0;
}

.cd-header.is-drawer-open .cd-header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------ Mega menus */

.cd-mega {
  position: absolute;
  top: var(--cd-mega-top, 100%);
  left: 50%;
  z-index: 10;
  width: max-content;
  max-width: calc(100vw - 48px);
  padding: 20px;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  color: var(--cd-text);
  background: #fff;
  box-shadow: 0 30px 80px -24px rgba(11, 13, 16, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(-50% + var(--cd-mega-shift, 0px)), -6px);
  transition:
    opacity 160ms var(--cd-ease),
    transform 160ms var(--cd-ease);
}

.cd-nav__item.is-open > .cd-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(calc(-50% + var(--cd-mega-shift, 0px)), 0);
}

/* Invisible strip from the label down to the panel, so the pointer never
   crosses dead space on its way to the links. */
.cd-mega::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: var(--cd-mega-bridge, 14px);
}

.cd-mega__inner {
  display: grid;
  grid-template-columns: repeat(var(--cd-cols, 3), 224px);
  gap: 8px 20px;
}

.cd-mega__inner.has-feature {
  grid-template-columns: repeat(var(--cd-cols, 3), 224px) 256px;
}

.cd-mega__col {
  display: grid;
  align-content: start;
  gap: 2px;
}

.cd-mega__heading {
  margin: 0 0 6px;
  padding: 4px 12px 10px;
  border-bottom: 1px solid var(--cd-line);
  color: var(--cd-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cd-mega__link {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.cd-mega__title {
  color: var(--cd-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.cd-mega__desc {
  color: var(--cd-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.cd-mega__link:hover,
.cd-mega__link:focus-visible {
  background: #f1f4fb;
}

.cd-mega__link:hover .cd-mega__title,
.cd-mega__link:focus-visible .cd-mega__title {
  color: #2f52e0;
}

.cd-mega__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(51, 92, 255, 0.55) 0%, rgba(51, 92, 255, 0) 60%),
    var(--cd-ink);
  text-decoration: none;
}

.cd-mega__feature:hover {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(51, 92, 255, 0.78) 0%, rgba(51, 92, 255, 0) 65%),
    var(--cd-ink);
}

.cd-mega__feature-eyebrow {
  color: #a9b8ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-mega__feature-title {
  flex: 1;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}

.cd-mega__feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- Buttons */

.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font: 600 15px/1 var(--cd-font);
  text-decoration: none;
  white-space: nowrap;
}

.cd-btn--solid {
  color: var(--cd-ink);
  background: #fff;
}

.cd-btn--solid:hover {
  color: var(--cd-ink);
  background: rgba(255, 255, 255, 0.86);
}

.cd-btn--ghost-dark {
  color: var(--cd-text);
  border-color: rgba(20, 24, 28, 0.2);
  background: transparent;
}

/* ---------------------------------------------------------- Mobile drawer */

@media (max-width: 1080px) {
  .cd-header__bar {
    gap: 16px;
    min-height: 64px;
  }

  .cd-header__brand img {
    height: 26px;
  }

  .cd-header__login,
  .cd-header__cta {
    display: none;
  }

  .cd-header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .cd-header__burger {
    display: flex;
  }

  .cd-nav {
    position: fixed;
    top: var(--cd-header-height, 64px);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-y: auto;
    padding: 8px 16px 32px;
    color: var(--cd-text);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms var(--cd-ease),
      transform 180ms var(--cd-ease);
  }

  .cd-header.is-drawer-open .cd-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .cd-nav__list {
    display: block;
  }

  .cd-nav__item {
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--cd-line);
  }

  .cd-nav__link {
    flex: 1;
    padding: 18px 0;
    color: var(--cd-text);
    font-size: 17px;
    font-weight: 600;
  }

  .cd-nav__link:hover,
  .cd-nav__item.is-open > .cd-nav__link {
    color: var(--cd-text);
  }

  .cd-nav__toggle {
    width: 44px;
    height: 44px;
    color: var(--cd-muted);
  }

  .cd-nav__toggle svg {
    width: 14px;
    height: 14px;
  }

  .cd-mega {
    position: static;
    display: none;
    flex-basis: 100%;
    width: auto;
    max-width: none;
    padding: 0 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .cd-mega::before {
    display: none;
  }

  .cd-nav__item.is-open > .cd-mega {
    display: block;
    transform: none;
  }

  .cd-mega__inner,
  .cd-mega__inner.has-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .cd-mega__heading {
    margin: 8px 0 0;
    padding: 0 0 4px;
    border: 0;
  }

  .cd-mega__desc,
  .cd-mega__feature {
    display: none;
  }

  .cd-mega__link {
    padding: 9px 0;
  }

  .cd-nav__drawer-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .cd-nav__drawer-actions .cd-btn--solid {
    color: #fff;
    background: var(--cd-ink);
  }

  body.cd-drawer-open {
    overflow: hidden;
  }
}

/* ---------------------------------------------------------------- Footer */

.cd-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--cd-ink);
  font-family: var(--cd-font);
}

.cd-footer__inner {
  width: min(100% - 2 * var(--cd-gutter), 1320px);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 0 32px;
}

.cd-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-footer__logo img {
  display: block;
  width: auto;
  height: 32px;
}

.cd-footer__tagline {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.cd-footer__about {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
}

.cd-footer__cols {
  display: grid;
  /* The contact column is wide enough for the WhatsApp number on one line;
     the address wraps inside it. */
  grid-template-columns: repeat(5, minmax(0, 1fr)) 220px;
  gap: 32px 24px;
}

.cd-footer a[href^="https://wa.me/"],
.cd-footer a[href^="mailto:"] {
  white-space: nowrap;
}

.cd-footer__heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.cd-footer a:hover {
  color: #fff;
}

.cd-footer .cd-btn--solid {
  color: var(--cd-ink);
}

.cd-footer__address {
  margin-top: 14px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.cd-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
}

.cd-footer__bottom p {
  margin: 0;
}

.cd-footer__legal {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px !important;
}

.cd-footer__legal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .cd-footer__top {
    grid-template-columns: 1fr;
  }

  .cd-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cd-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------- Page typography

   One type system across every page, matching the homepage: Satoshi, medium
   weight, tight tracking for headings; Satoshi for body copy. Only family,
   weight and tracking change here; each page keeps its own sizes and layout. */

body {
  font-family: var(--cd-font);
}

main h1,
main h2 {
  font-family: var(--cd-font) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  text-transform: none;
}

main h3,
main h4 {
  font-family: var(--cd-font) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

main h1 strong,
main h2 strong {
  font-weight: 700;
}

/* -------------------------------------------------------- Region switcher */

.cd-region {
  position: relative;
}

.cd-region__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  font: 500 15px/1 var(--cd-font);
  white-space: nowrap;
  cursor: pointer;
}

.cd-region__toggle:hover,
.cd-region.is-open .cd-region__toggle {
  color: #fff;
}

.cd-region__toggle svg:last-child {
  transition: transform 180ms var(--cd-ease);
}

.cd-region.is-open .cd-region__toggle svg:last-child {
  transform: rotate(180deg);
}

.cd-region__menu {
  position: absolute;
  top: calc(100% + 18px);
  right: -12px;
  z-index: 20;
  width: 300px;
  padding: 14px;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  color: var(--cd-text);
  background: #fff;
  box-shadow: 0 30px 80px -24px rgba(11, 13, 16, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms var(--cd-ease),
    transform 160ms var(--cd-ease);
}

.cd-region.is-open .cd-region__menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.cd-region__heading {
  margin: 0 0 6px;
  padding: 2px 10px 10px;
  border-bottom: 1px solid var(--cd-line);
  color: var(--cd-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-region__menu ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-region__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 9px;
}

.cd-region__row.is-current {
  background: #f1f4fb;
}

.cd-region__name {
  color: var(--cd-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

a.cd-region__name:hover {
  color: #2f52e0;
}

.cd-region__langs {
  display: inline-flex;
  gap: 10px;
  color: var(--cd-muted);
  font-size: 13px;
}

.cd-region__langs a {
  color: var(--cd-muted);
  text-decoration: none;
}

.cd-region__langs a:hover,
.cd-region__langs a[aria-current="page"] {
  color: #2f52e0;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .cd-region__toggle > span {
    display: none;
  }

  .cd-region__menu {
    position: fixed;
    top: calc(var(--cd-header-height, 64px) + 8px);
    right: 16px;
    width: min(300px, calc(100vw - 32px));
  }
}

/* --------------------------------------------- Trust and controls block

   Rendered on the solution pages by scripts/site-chrome.mjs (renderTrust). */

.cd-trust {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #f6f7f9;
  font-family: var(--cd-font);
}

.cd-trust * {
  box-sizing: border-box;
}

.cd-trust__inner {
  width: min(100% - 2 * var(--cd-gutter), 1320px);
  margin: 0 auto;
}

.cd-trust__eyebrow {
  margin: 0 0 14px;
  color: var(--cd-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-trust .cd-trust__title {
  max-width: 20ch;
  margin: 0 0 clamp(32px, 4vw, 52px);
  color: var(--cd-text);
  font-family: var(--cd-font) !important;
  font-size: clamp(30px, 3.4vw, 48px) !important;
  font-weight: 500 !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cd-trust__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cd-trust__card {
  padding: 22px;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  background: #fff;
  scroll-margin-top: calc(var(--cd-header-height, 76px) + 24px);
}

.cd-trust__card:target {
  border-color: var(--cd-accent);
  box-shadow: 0 0 0 3px rgba(51, 92, 255, 0.15);
}

.cd-trust__num {
  display: block;
  margin-bottom: 14px;
  color: var(--cd-accent);
  font-size: 13px;
  font-weight: 600;
}

.cd-trust .cd-trust__card h3 {
  margin: 0 0 8px;
  color: var(--cd-text);
  font-family: var(--cd-font) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.3;
}

.cd-trust__card p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .cd-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cd-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .cd-trust__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------- Phone header */

@media (max-width: 1080px) {
  /* Keep the demo one tap away on phones and tablets. */
  .cd-header__cta {
    display: inline-flex;
    min-height: 38px;
    padding: 0 14px;
    border-width: 1.5px;
    font-size: 14px;
  }

  .cd-region__toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .cd-header__burger {
    width: 44px;
    height: 44px;
  }

  .cd-mega__link {
    padding: 12px 0;
  }

  .cd-region__menu a,
  .cd-region__langs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

@media (max-width: 380px) {
  .cd-header__bar {
    gap: 10px;
  }

  .cd-header__brand img {
    height: 22px;
  }

  .cd-header__cta {
    padding: 0 10px;
    font-size: 13px;
  }

  .cd-region__toggle svg:last-child {
    display: none;
  }
}

/* Trust block: swipe through the ten cards rather than scroll past them. */
@media (max-width: 760px) {
  .cd-trust__grid {
    display: flex;
    gap: 12px;
    margin: 0 calc(-1 * var(--cd-gutter));
    padding: 4px var(--cd-gutter) 18px;
    overflow-x: auto;
    scroll-padding-inline: var(--cd-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cd-trust__grid::-webkit-scrollbar {
    display: none;
  }

  .cd-trust__card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .cd-footer__legal a,
  .cd-footer__lang {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cd-footer__col a {
    display: inline-block;
    padding: 6px 0;
  }

  .cd-header__brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Phones: the footer fits on one screen. */
@media (max-width: 760px) {
  .cd-footer {
    padding-top: 0;
  }

  .cd-footer__inner {
    padding: 32px 0 12px;
  }

  .cd-footer__top {
    padding-bottom: 16px;
  }

  .cd-footer__col li {
    margin: 0;
  }

  .cd-footer__col ul {
    display: grid;
    gap: 2px;
  }

  .cd-footer__about,
  .cd-footer__brand .cd-footer__cta,
  .cd-footer__brand > a:not(.cd-footer__logo) {
    display: none;
  }

  .cd-footer__top {
    gap: 22px;
  }

  .cd-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
  }

  .cd-footer__heading {
    margin-bottom: 8px;
    font-size: 11.5px;
  }

  .cd-footer__col a,
  .cd-footer__col li {
    padding: 2px 0;
    font-size: 12.5px;
    line-height: 1.3;
  }

  /* Contact shares the second row with Guides and Company, so the number
     and the address wrap inside the narrow column. */
  .cd-footer a[href^="https://wa.me/"],
  .cd-footer a[href^="mailto:"] {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cd-footer__col ul {
    margin: 0;
  }

  .cd-footer__bottom {
    gap: 6px;
    margin-top: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
  }

  .cd-footer__legal {
    gap: 14px;
  }
}
