/*
 * The marketing site's one stylesheet. Light surfaces, one accent (the brand
 * red), thin borders instead of shadows, nothing heavier than weight 500.
 * Green appears only inside the WhatsApp mock-ups, where it is WhatsApp's.
 */

@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Variable.woff2") format("woff2"), url("/fonts/GeneralSans-Variable.woff") format("woff");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --ink: #15171b;
  --ink-2: #3d4045;
  --muted: #5e6165;
  --faint: #8a8d91;
  --line: rgba(17, 24, 39, 0.11);
  --line-2: rgba(17, 24, 39, 0.18);
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --surface-3: #eef0f3;
  --red: #dc2626;
  --red-lo: #b91c1c;
  --red-wash: #fdeeee;
  --wa: #25d366;
  --wa-dark: #075e54;
  --wa-bg: #efeae2;
  --wa-out: #d9fdd3;
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1180px;
}

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

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

body.ms {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.ms) h1,
:where(.ms) h2,
:where(.ms) h3,
:where(.ms) h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
:where(.ms) b,
:where(.ms) strong {
  font-weight: 500;
}
/* Zero-specificity resets, so any component class can set its own spacing. */
:where(.ms) p {
  margin: 0;
}
:where(.ms) a {
  color: inherit;
  text-decoration: none;
}
.ms img {
  max-width: 100%;
}
.ms :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

.ms-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------ buttons */

.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ms-btn--lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15.5px;
}
.ms-btn--solid {
  background: var(--red);
  color: #fff !important;
}
.ms-btn--solid:hover {
  background: var(--red-lo);
}
.ms-btn--ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
}
.ms-btn--ghost:hover {
  border-color: var(--ink-2);
}
.ms-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.ms-topbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.ms-topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.ms-topbar a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}
/* "Official [Meta wordmark] Tech Provider". The wordmark is Meta's own file,
   unaltered, so it only ever sits on a light surface. */
.ms-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.ms-meta img {
  height: 14px;
  width: auto;
  display: block;
  transform: translateY(-0.5px);
}

.ms-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.ms-header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.ms-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.ms-logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
}
.ms-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
/* Menus centre under the header row, not under their button (menu.css). */
.ms-header-row {
  position: relative;
}
.ms-nav-item {
  position: static;
}
.ms-nav-btn,
.ms-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
}
.ms-nav-btn:hover,
.ms-nav-link:hover,
.ms-nav-item.is-open .ms-nav-btn {
  background: var(--surface-2);
  color: var(--ink);
}
.ms-nav-btn.is-current,
.ms-nav-link.is-current {
  color: var(--red);
}
.ms-nav-btn svg {
  transition: transform 0.15s;
}
.ms-nav-item.is-open .ms-nav-btn svg {
  transform: rotate(180deg);
}
.ms-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
@media (max-width: 1080px) {
  .ms-nav,
  .ms-hide-sm {
    display: none;
  }
}
@media (max-width: 640px) {
  .ms-wrap {
    padding: 0 16px;
  }
  .ms-topbar-contact {
    display: none;
  }
  .ms-topbar-row {
    justify-content: center;
  }
}

/* -------------------------------------------------------- page pieces */

.ms-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--faint);
  margin-bottom: 20px;
}
.ms-crumbs a:hover {
  color: var(--ink);
}
.ms-crumbs [aria-current] {
  color: var(--muted);
}

.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red-wash);
  color: var(--red-lo);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}

.ms-hero {
  padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(70% 60% at 85% 10%, rgba(220, 38, 38, 0.06), transparent 70%);
}
.ms-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ms-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.035em;
}
.ms-lede {
  margin-top: 20px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 560px;
}
.ms-hero-actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.ms-hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--faint);
}
.ms-hero--center {
  text-align: center;
}
.ms-hero--center .ms-lede {
  margin-left: auto;
  margin-right: auto;
}
.ms-hero--center .ms-hero-actions {
  justify-content: center;
}
.ms-hero--center .ms-crumbs {
  justify-content: center;
}

.ms-section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.ms-section--tint {
  background: var(--surface-2);
}
.ms-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ms-prose {
  max-width: 720px;
}
.ms-prose h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin-bottom: 16px;
}
.ms-prose p + p {
  margin-top: 14px;
}
.ms-prose p {
  color: var(--ink-2);
  font-size: 16.5px;
}
.ms-checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.ms-checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}
.ms-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red-wash)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-4.8' fill='none' stroke='%23b91c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.ms-section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.ms-section-head h2 {
  font-size: clamp(26px, 2.8vw, 34px);
}
.ms-section-head p {
  margin-top: 10px;
  color: var(--muted);
}

/* FAQ */
.ms-faq {
  display: grid;
  gap: 0;
  max-width: 820px;
  border-top: 1px solid var(--line);
}
.ms-faq details {
  border-bottom: 1px solid var(--line);
}
.ms-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.ms-faq summary::-webkit-details-marker {
  display: none;
}
.ms-faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--faint);
  transition: transform 0.15s;
}
.ms-faq details[open] summary::after {
  transform: rotate(45deg);
}
.ms-faq details p {
  padding: 0 0 20px;
  color: var(--ink-2);
  max-width: 700px;
}

/* Cards (related pages, hubs, case studies) */
.ms-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.ms-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s;
  min-width: 0;
}
a.ms-card:hover {
  border-color: var(--line-2);
}
a.ms-card:hover .ms-card-more {
  color: var(--red);
}
.ms-card small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--red-lo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ms-card h3 {
  font-size: 18px;
}
.ms-card p {
  font-size: 14.5px;
  color: var(--muted);
}
.ms-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

/* Closing call to action */
.ms-cta {
  padding: clamp(40px, 6vw, 64px) 0;
}
.ms-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ms-cta-inner > div:first-child {
  padding: 0;
}
.ms-cta h2 {
  font-size: clamp(26px, 3vw, 36px);
}
.ms-cta p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 560px;
}
.ms-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ms-cta-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.ms-cta .ms-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(220, 38, 38, 0.07), transparent 70%),
    var(--surface-2);
  max-width: calc(var(--wrap) - 48px);
}
@media (max-width: 640px) {
  .ms-cta .ms-wrap {
    margin: 0 16px;
    width: auto;
  }
}

/* Footer */
.ms-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 14px;
  background: var(--surface);
}
.ms-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.ms-footer-brand p {
  color: var(--muted);
  margin: 12px 0;
  max-width: 300px;
}
.ms-footer-brand .ms-meta {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.ms-footer-contact a {
  color: var(--ink-2);
}
.ms-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.ms-footer-col h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 4px;
}
.ms-footer-col a {
  color: var(--ink-2);
}
.ms-footer-col a:hover,
.ms-footer-contact a:hover {
  color: var(--red);
}
.ms-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}
.ms-footer-bottom span:last-child {
  display: flex;
  gap: 18px;
}
@media (max-width: 960px) {
  .ms-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .ms-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .ms-hero-grid,
  .ms-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------- glossary */

.ms-search {
  width: 100%;
  max-width: 460px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.ms-search:focus {
  outline: none;
  border-color: var(--ink-2);
}
.ms-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 24px 0 8px;
}
.ms-letters a,
.ms-letters span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}
.ms-letters a {
  border: 1px solid var(--line);
}
.ms-letters a:hover {
  border-color: var(--ink-2);
}
.ms-letters span {
  color: var(--line-2);
}
.ms-glossary-group {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  scroll-margin-top: 90px;
}
.ms-glossary-group > h2 {
  font-size: 32px;
  color: var(--red);
}
.ms-glossary-group .ms-cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.ms-empty {
  padding: 40px 0;
  color: var(--muted);
}
@media (max-width: 640px) {
  .ms-glossary-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ms-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
.ms-article-body p {
  font-size: 17px;
  color: var(--ink-2);
}
.ms-article-body p + p {
  margin-top: 16px;
}
.ms-definition {
  font-size: clamp(19px, 1.8vw, 22px) !important;
  color: var(--ink) !important;
  line-height: 1.5;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  margin-bottom: 28px !important;
}
.ms-example {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.ms-example small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 6px;
}
.ms-aside {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}
.ms-aside-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ms-aside-box h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 10px;
}
.ms-aside-box a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
}
.ms-aside-box a:hover {
  color: var(--red);
}
.ms-aside-box p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .ms-article {
    grid-template-columns: minmax(0, 1fr);
  }
  .ms-aside {
    position: static;
  }
}

/* -------------------------------------------------------- templates */

.ms-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.ms-chip-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.ms-chip-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.ms-tpl-card .ms-tpl-preview {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--wa-bg);
  font-size: 13.5px;
  line-height: 1.5;
  color: #111b21;
}
.ms-tpl-card .ms-tpl-preview span {
  padding: 8px 10px;
  max-height: calc(1.5em * 4 + 16px);
  border-radius: 8px;
  background: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ms-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.ms-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.ms-tag--marketing i {
  background: var(--red);
}
.ms-tag--utility i {
  background: #2563eb;
}
.ms-tag--authentication i {
  background: #15803d;
}
.ms-vars {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14.5px;
}
.ms-vars th,
.ms-vars td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.ms-vars th {
  font-weight: 500;
  color: var(--faint);
  font-size: 13px;
}
.ms-code {
  position: relative;
  margin-top: 14px;
  padding: 16px 84px 16px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.ms-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-family: "General Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* ------------------------------------------------------------ tools */

.ms-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.ms-tool-form,
.ms-tool-out {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.ms-tool-out {
  background: var(--surface-2);
  position: sticky;
  top: 90px;
}
.ms-field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.ms-field > span {
  font-size: 14px;
  font-weight: 500;
}
.ms-field small {
  font-size: 13px;
  color: var(--muted);
}
.ms-field small.is-error {
  color: var(--red-lo);
}
.ms-input,
.ms-select,
.ms-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
}
.ms-textarea {
  min-height: 96px;
  resize: vertical;
}
.ms-input:focus,
.ms-select:focus,
.ms-textarea:focus {
  outline: none;
  border-color: var(--ink-2);
}
.ms-input[aria-invalid="true"] {
  border-color: var(--red);
}
.ms-phone-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
}
.ms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ms-out-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 8px;
  display: block;
}
.ms-out-link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  word-break: break-all;
  margin-bottom: 14px;
}
.ms-out-empty {
  color: var(--muted);
  font-size: 15px;
}
.ms-qr {
  display: grid;
  place-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.ms-qr svg {
  width: 100%;
  max-width: 260px;
  height: auto;
}
.ms-preview-site {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--surface-3) 0 0) 20px 24px / 40% 12px no-repeat,
    linear-gradient(var(--surface-3) 0 0) 20px 48px / 70% 8px no-repeat,
    linear-gradient(var(--surface-3) 0 0) 20px 64px / 60% 8px no-repeat,
    #fff;
  overflow: hidden;
  margin-bottom: 14px;
}
.ms-status {
  font-size: 13.5px;
  color: var(--muted);
  min-height: 20px;
}
@media (max-width: 900px) {
  .ms-tool {
    grid-template-columns: minmax(0, 1fr);
  }
  .ms-tool-out {
    position: static;
  }
}

/* ------------------------------------------------------ case studies */

.ms-story {
  max-width: 760px;
  margin: 0 auto;
}
.ms-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}
.ms-story-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 32px 0;
  background: var(--surface-2);
}
.ms-story-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.ms-story-results div {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.ms-story-results b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--red);
}
.ms-story-results span {
  font-size: 14px;
  color: var(--muted);
}
.ms-story-body h2 {
  font-size: 26px;
  margin: 40px 0 14px;
}
.ms-story-body h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}
.ms-story-body p,
.ms-story-body li {
  font-size: 17px;
  color: var(--ink-2);
}
.ms-story-body p + p {
  margin-top: 14px;
}
.ms-story-body ul,
.ms-story-body ol {
  padding-left: 22px;
  margin: 14px 0;
}
.ms-story-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--red);
  font-size: 20px;
  color: var(--ink);
}
.ms-story-body a {
  color: var(--red-lo);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ms-story-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 6px;
}

/* --------------------------------------------------------- mock-ups */

.mk {
  display: flex;
  justify-content: center;
  font-family: "General Sans", system-ui, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}
.mk b {
  font-weight: 500;
}
.mk-phone {
  width: 300px;
  max-width: 100%;
  border-radius: 34px;
  border: 8px solid #1b1c1f;
  background: var(--wa-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 520px;
}
.mk-wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 10px;
  background: var(--wa-dark);
  color: #fff;
}
.mk-wa-head b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  line-height: 1.2;
}
.mk-wa-head small {
  display: block;
  font-size: 11.5px;
  opacity: 0.8;
}
.mk-wa-head--form {
  justify-content: space-between;
  background: #fff;
  color: #111b21;
  border-bottom: 1px solid #e9edef;
  font-size: 13px;
}
.mk-wa-head--form span {
  color: var(--wa-dark);
  width: 40px;
}
.mk-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dfe5e7;
  color: #3b4a54;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.mk-wa-body {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.mk-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  gap: 3px;
}
.mk-msg--user {
  align-self: flex-end;
}
.mk-msg--biz {
  align-self: flex-start;
}
.mk-bubble {
  padding: 7px 9px 5px;
  border-radius: 9px;
  background: #fff;
  color: #111b21;
  font-size: 13.5px;
  line-height: 1.42;
  position: relative;
}
.mk-msg--user .mk-bubble {
  background: var(--wa-out);
}
.mk-bubble p {
  margin: 0;
  overflow-wrap: anywhere;
}
.mk-bubble-head {
  display: block;
  margin-bottom: 3px;
}
.mk-bubble-foot {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #667781;
}
.mk-time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: #667781;
  margin-top: 2px;
}
.mk-ticks {
  color: #53bdeb;
}
.mk-btns {
  display: grid;
  gap: 3px;
}
.mk-btns span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 9px;
  background: #fff;
  color: #027eb5;
  font-size: 13.5px;
  font-weight: 500;
}
.mk-wa-input {
  display: flex;
  gap: 8px;
  padding: 8px 10px 12px;
}
.mk-wa-input span {
  flex: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: #8696a0;
  font-size: 13px;
}
.mk-wa-input i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #00a884;
}
.mk-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -60px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 10px 16px 16px;
  color: #111b21;
  font-size: 13.5px;
  border-top: 1px solid #e9edef;
}
.mk-sheet-grab {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: #d1d7db;
  margin: 0 auto 10px;
}
.mk-sheet ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.mk-sheet li {
  display: grid;
  grid-template-columns: 1fr 18px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
}
.mk-sheet li small {
  grid-column: 1;
  color: #667781;
  font-size: 12px;
}
.mk-sheet li i {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #8696a0;
}
.mk-sheet li i.is-on {
  border: 5px solid #00a884;
}
.mk-sheet-send {
  display: block;
  text-align: center;
  padding: 9px;
  border-radius: 999px;
  background: #00a884;
  color: #fff;
  font-weight: 500;
}
.mk-panel,
.mk-inbox,
.mk-email,
.mk-call,
.mk-canvas {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  font-size: 13.5px;
}
.mk-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.mk-panel-head small,
.mk-call small,
.mk-email small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.mk-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.mk-chip--ok {
  background: #e7f6ec;
  color: #15803d;
}
.mk-chip--warn {
  background: #fff4e0;
  color: #a15c07;
}
.mk-bars {
  display: grid;
  gap: 14px;
  padding: 20px;
}
.mk-bar {
  display: grid;
  grid-template-columns: 76px 1fr 54px;
  gap: 12px;
  align-items: center;
}
.mk-bar span {
  color: var(--muted);
}
.mk-bar div {
  height: 8px;
  border-radius: 8px;
  background: var(--surface-3);
  overflow: hidden;
}
.mk-bar i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--red);
}
.mk-bar b {
  text-align: right;
}
.mk-panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.mk-canvas {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fafafa radial-gradient(rgba(17, 24, 39, 0.12) 1px, transparent 1.2px) 0 0 / 16px 16px;
}
.mk-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mk-wires path {
  fill: none;
  stroke: #9aa0a6;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.mk-node {
  position: absolute;
  width: 34%;
  max-width: 180px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  display: grid;
  gap: 2px;
}
.mk-node small {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.mk-node b {
  font-size: 13px;
  line-height: 1.3;
}
.mk-node span {
  font-size: 11.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.mk-node--accent {
  border-color: rgba(220, 38, 38, 0.45);
}
.mk-test {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.mk-inbox {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 330px;
}
.mk-inbox-list {
  border-right: 1px solid var(--line);
}
.mk-inbox-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.mk-inbox-row.is-on {
  background: var(--surface-2);
}
.mk-inbox-row span:nth-child(2) {
  min-width: 0;
}
.mk-inbox-row b,
.mk-inbox-row small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-inbox-row small {
  color: var(--muted);
  font-size: 12px;
}
.mk-inbox-row em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--faint);
}
.mk-inbox-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--wa-bg);
}
.mk-inbox-chat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: -12px -12px 4px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mk-inbox-chat-head b {
  margin-right: auto;
}
.mk-inbox-reply {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.mk-inbox-reply span {
  flex: 1;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--faint);
  font-size: 12.5px;
}
.mk-inbox-reply b {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
}
.mk-call {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}
.mk-call-main {
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  background: #111214;
  color: #fff;
}
.mk-call-main small {
  color: #9a9a9a;
}
.mk-call-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: mk-pulse 1.6s ease-in-out infinite;
}
.mk-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 46px;
}
.mk-wave i {
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  animation: mk-wave 1.2s ease-in-out infinite alternate;
}
.mk-wave i:nth-child(3n) {
  animation-delay: -0.4s;
}
.mk-wave i:nth-child(3n + 1) {
  animation-delay: -0.8s;
}
.mk-line {
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  line-height: 1.45;
}
.mk-line--user {
  background: rgba(220, 38, 38, 0.22);
}
.mk-call-crm {
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.mk-call-crm dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  margin: 4px 0 8px;
  font-size: 12.5px;
}
.mk-call-crm dt {
  color: var(--muted);
}
.mk-call-crm dd {
  margin: 0;
  text-align: right;
}
@keyframes mk-pulse {
  50% {
    opacity: 0.35;
  }
}
@keyframes mk-wave {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}
.mk-phone--sms,
.mk-phone--rcs {
  background: #fff;
}
.mk-sms-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 12px 12px;
  border-bottom: 1px solid #eceff1;
  color: #202124;
}
.mk-sms-head b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}
.mk-sms-head small {
  font-size: 11.5px;
  color: #5f6368;
}
.mk-sms-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
}
.mk-sms-bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 18px 18px 18px 4px;
  background: #f1f3f4;
  color: #202124;
  font-size: 13.5px;
  line-height: 1.45;
}
.mk-sms-meta {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-top: 1px solid #eceff1;
  font-size: 11.5px;
  color: #5f6368;
  text-align: center;
}
.mk-rcs-card {
  border: 1px solid #e3e6e8;
  border-radius: 16px;
  overflow: hidden;
  font-size: 13px;
  color: #202124;
}
.mk-rcs-img {
  height: 130px;
  background:
    radial-gradient(60% 80% at 30% 100%, #2f7d4a, transparent 70%),
    radial-gradient(50% 60% at 80% 20%, #f4c46b, transparent 70%),
    linear-gradient(180deg, #8ec5e8, #4f8fb8);
}
.mk-rcs-card b {
  display: block;
  padding: 10px 12px 0;
}
.mk-rcs-card p {
  margin: 4px 0 8px;
  padding: 0 12px;
  color: #5f6368;
}
.mk-rcs-card span {
  display: block;
  padding: 10px;
  text-align: center;
  color: #1a73e8;
  font-weight: 500;
  border-top: 1px solid #e3e6e8;
}
.mk-rcs-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mk-rcs-chips span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  color: #1a73e8;
  font-size: 12.5px;
  font-weight: 500;
}
.mk-email-head {
  display: grid;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.mk-email-body {
  padding: 20px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.mk-email-hero {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  background:
    radial-gradient(40% 70% at 20% 30%, rgba(220, 38, 38, 0.25), transparent 70%),
    radial-gradient(40% 70% at 80% 70%, rgba(37, 99, 235, 0.18), transparent 70%),
    var(--surface-2);
  margin-bottom: 6px;
}
.mk-email-body b {
  font-size: 16px;
}
.mk-email-body p {
  color: var(--muted);
}
.mk-email-btn {
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}
.mk-email-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.mk-email-stats span {
  padding: 12px;
  text-align: center;
  color: #15803d;
  font-size: 12.5px;
}
.mk-email-stats span + span {
  border-left: 1px solid var(--line);
}
.mk-email-stats b {
  display: block;
  color: var(--ink);
}
.mk-form {
  flex: 1;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  background: #fff;
  color: #111b21;
  font-size: 12.5px;
}
.mk-form label {
  display: grid;
  gap: 4px;
  color: #54656f;
}
.mk-form label span {
  padding: 9px 11px;
  border: 1px solid #d1d7db;
  border-radius: 8px;
  color: #111b21;
  font-size: 13px;
}
.mk-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mk-radios span {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #d1d7db;
}
.mk-radios span.is-on {
  border-color: #00a884;
  background: #e7f8f3;
  color: #00684f;
}
.mk-form .mk-check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-check i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid #8696a0;
}
.mk-check i.is-on {
  background: #00a884;
  border-color: #00a884;
}
.mk-form-cta {
  margin-top: 6px;
  padding: 11px;
  text-align: center;
  border-radius: 999px;
  background: #00a884;
  color: #fff;
}
.mk-form small {
  text-align: center;
  color: #8696a0;
  font-size: 11px;
}
@media (max-width: 560px) {
  .mk-inbox,
  .mk-call {
    grid-template-columns: 1fr;
  }
  .mk-inbox-list .mk-inbox-row:nth-child(n + 3) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk-wave i,
  .mk-call-dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* The floating chat button the button generator previews. */
.ms-wa-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 14px;
  height: 52px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}
.ms-wa-float svg {
  width: 24px;
  height: 24px;
}



@media (max-width: 640px) {
  .ms-hero-actions .ms-btn {
    flex: 1 1 100%;
  }
  .ms-phone-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .ms-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ms-story-source {
  margin-top: 40px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 14px;
  color: var(--muted);
}
.ms-story-source a {
  color: var(--red-lo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The logo of the business a story is about: drawn as supplied, never recoloured. */
img.ms-story-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  margin: 4px 0 2px;
  background: none;
}
.ms-story-meta {
  align-items: center;
}
.ms-story-meta img.ms-story-logo {
  height: 24px;
  margin: 0;
}

/* A case study card names the business, with its logo when there is one. */
.ms-story-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin: 2px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ms-story-brand img.ms-story-logo {
  height: 26px;
  max-width: 110px;
  margin: 0;
}
.ms-story-brand b {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.ms-footer div.ms-partners {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

/*
 * Header menus (menu.ts). Shared by the marketing pages (bundled into
 * /m/site.css) and the landing page (imported directly), so colours are
 * literal here rather than the site's variables. The panel is positioned by
 * the nearest positioned ancestor of the menu item: the header row on the
 * marketing pages, the nav on the landing page.
 */
/* Selectors are scoped one level deep so a page's own resets (the landing
   page's ".lp *") never outrank them, whatever order the sheets load in. */
:is(.ms-nav-item, .lp-nav-item) > .ms-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: min(1040px, calc(100vw - 32px));
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius:0;
  box-shadow: none;
  color: #15171b;
  font-family: "General Sans", ui-sans-serif, system-ui, sans-serif;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
/* Keeps hover alive across the gap between the button and the panel. */
:is(.ms-nav-item, .lp-nav-item) > .ms-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.ms-nav-item.is-open .ms-menu,
.lp-nav-item.is-open .ms-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.ms-menu .ms-menu-body {
  display: flex;
  gap: 8px;
}
.ms-menu .ms-menu-cols {
  display: flex;
  gap: 2px;
  padding: 4px;
}
.ms-menu .ms-menu-col {
  width: 236px;
}
.ms-menu .ms-menu-col--split {
  width: 480px;
}
.ms-menu .ms-menu-col--split .ms-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ms-menu .ms-menu-title {
  margin: 0;
  padding: 8px 10px 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8d91;
}
.ms-menu .ms-menu-links {
  display: grid;
  gap: 2px;
}
.ms-menu a.ms-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius:0;
  color: #15171b;
  text-decoration: none;
  transition: background 0.12s;
}
.ms-menu .ms-menu-ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  /* A filled Android icon with no box, near-black; brand red on hover. */
  width: 28px;
  height: 28px;
  border-radius: 0;
  border: 0;
  background: none;
  color: #1a1d23;
  transition: color 0.12s;
}
.ms-menu a.ms-menu-link:hover,
.ms-menu a.ms-menu-link:focus-visible,
.ms-menu a.ms-menu-link[aria-current] {
  background: #f6f7f9;
}
/* A real app icon carries its own shape and colour: no box behind it. */
.ms-menu .ms-menu-ic.ms-menu-ic--app,
.ms-menu a.ms-menu-link:hover .ms-menu-ic.ms-menu-ic--app,
.ms-menu a.ms-menu-link[aria-current] .ms-menu-ic.ms-menu-ic--app {
  background: none;
}
.ms-menu a.ms-menu-link:hover .ms-menu-ic,
.ms-menu a.ms-menu-link:focus-visible .ms-menu-ic,
.ms-menu a.ms-menu-link[aria-current] .ms-menu-ic {
  color: #dc2626;
}
.ms-menu .ms-menu-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 1px;
}
.ms-menu .ms-menu-label {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
}
.ms-menu .ms-menu-hint {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: #5e6165;
}
.ms-menu a.ms-menu-feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 260px;
  flex-shrink: 0;
  padding: 20px;
  border-radius:0;
  border: 1px solid rgba(220, 38, 38, 0.14);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(220, 38, 38, 0.12), transparent 60%),
    linear-gradient(180deg, #fff7f7, #ffffff);
  color: #15171b;
  text-decoration: none;
}
.ms-menu .ms-menu-feature-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b91c1c;
}
.ms-menu .ms-menu-feature-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ms-menu .ms-menu-feature-body {
  font-size: 13.5px;
  line-height: 1.45;
  color: #5e6165;
}
.ms-menu .ms-menu-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #b91c1c;
}
.ms-menu a.ms-menu-feature:hover .ms-menu-feature-cta svg {
  transform: translateX(2px);
}
.ms-menu .ms-menu-feature-cta svg {
  transition: transform 0.15s;
}
.ms-menu a.ms-menu-all {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 4px 0;
  padding: 12px 10px 4px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 14px;
  font-weight: 500;
  color: #b91c1c;
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  :is(.ms-nav-item, .lp-nav-item) > .ms-menu {
    transition: none;
  }
}

/* ------------------------------------------------ hamburger (narrow screens) */

button.ms-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius:0;
  background: #ffffff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
button.ms-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #15171b;
  transition: transform 0.15s;
}
button.ms-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
button.ms-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
@media (max-width: 1080px) {
  button.ms-burger {
    display: inline-flex;
  }
}
@media (min-width: 1081px) {
  div.ms-mobile {
    display: none !important;
  }
}
div.ms-mobile {
  padding: 8px 16px 20px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  background: #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  color: #15171b;
  font-family: "General Sans", ui-sans-serif, system-ui, sans-serif;
  text-align: left;
}
.ms-mobile details {
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}
.ms-mobile summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.ms-mobile summary::-webkit-details-marker {
  display: none;
}
.ms-mobile summary svg {
  transition: transform 0.15s;
}
.ms-mobile details[open] summary svg {
  transform: rotate(180deg);
}
.ms-mobile .ms-mobile-links {
  display: grid;
  gap: 2px;
  padding: 0 0 12px;
}
.ms-mobile .ms-mobile-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  border-radius:0;
  font-size: 15px;
  color: #3d4045;
  text-decoration: none;
}
.ms-mobile .ms-mobile-ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius:0;
  border: 1px solid rgba(17, 24, 39, 0.09);
  background: #f6f7f9;
  color: #3d4045;
  flex-shrink: 0;
}
.ms-mobile a.ms-mobile-all {
  color: #b91c1c;
  font-weight: 500;
  gap: 6px;
}
.ms-mobile a.ms-mobile-direct {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  font-size: 16px;
  font-weight: 500;
  color: #15171b;
  text-decoration: none;
}
.ms-mobile .ms-mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.ms-mobile a.ms-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius:0;
  border: 1px solid rgba(17, 24, 39, 0.18);
  font-size: 15px;
  font-weight: 500;
  color: #15171b;
  text-decoration: none;
}
.ms-mobile a.ms-mobile-btn--solid {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

/* ------------------------------------------------------------ partners */

div.ms-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 8px 0 40px;
  text-align: center;
}
.ms-partners .ms-partners-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8d91;
}
.ms-partners .ms-partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 56px;
}
.ms-partners .ms-partners-row img {
  display: block;
  width: auto;
}
