/* The marketing site (Milestone 26): home, pricing, security, try, signup, and the legal pages, in
   <main class="ms"> on <html class="mk-site">. Colors and type are the EngageCycle brand tokens
   from styles.css (static/brand/README.md); layout follows docs/design/launch-site.html. Mobile
   first, nothing wider than the screen at 390px. */

/* Plain scrolling (as offer.css does): smooth scrolling fights the sticky header and automated
   clicks. In-page links land below the header. */
html.mk-site {
  scroll-behavior: auto;
  scroll-padding-top: 76px;
}

:root.mk-site {
  --brand-dark: #1c47b8;
  --sunken: #eef2f9;
  --ms-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 32px rgba(15, 23, 42, 0.08);
  --ms-band: #10245e;
  --ms-band-text: #dbe4ff;
  --ms-band-line: rgba(255, 255, 255, 0.4);
  --ms-r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root.mk-site:not([data-theme="light"]) {
    --brand-dark: #8eabff;
    --sunken: #18223a;
    --ms-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --ms-band: #1a2747;
    --ms-band-text: #c9d6ff;
    --ms-band-line: rgba(255, 255, 255, 0.3);
  }
}
:root.mk-site[data-theme="dark"] {
  --brand-dark: #8eabff;
  --sunken: #18223a;
  --ms-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  --ms-band: #1a2747;
  --ms-band-text: #c9d6ff;
  --ms-band-line: rgba(255, 255, 255, 0.3);
}

.ms {
  display: block;
  color: var(--body);
  overflow-x: clip;
}
:where(.ms) h1,
:where(.ms) h2,
:where(.ms) h3 {
  color: var(--text);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
:where(.ms) p {
  margin: 0;
}
:where(.ms) a {
  color: var(--brand-text);
}
.ms :focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}
.ms-wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 16px;
}
.ms-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ms-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  background: var(--paper);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}
.ms-skip:focus {
  top: 8px;
}
.ms-muted {
  color: var(--muted);
}
.ms-center {
  text-align: center;
}
.ms-fine {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* Buttons */
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--text) !important;
  border-radius: 999px;
  padding: 9px 18px;
  font: 700 15px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.ms-btn:hover {
  border-color: var(--brand);
}
.ms-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink) !important;
}
.ms-btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
.ms-btn-big {
  min-height: 50px;
  padding: 12px 24px;
  font-size: 16px;
}
.ms-btn-ghost {
  border-color: transparent;
  background: none;
}
.ms-btn-quiet {
  background: var(--paper);
  border-color: var(--border-strong);
  color: var(--text) !important;
}
.ms-btn-quiet:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

/* Header */
.ms-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.ms-nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  position: relative;
}
.ms-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.ms-logo .brand-logo img {
  height: 26px;
  width: auto;
}
.ms-links {
  display: none;
  gap: 22px;
}
.ms-links a,
.ms-menu-panel a {
  color: var(--body) !important;
  text-decoration: none;
  font-weight: 400;
}
.ms-links a:hover,
.ms-menu-panel a:hover {
  color: var(--brand-text) !important;
}
.ms-links a[aria-current="page"],
.ms-menu-panel a[aria-current="page"] {
  color: var(--text) !important;
  font-weight: 700;
}
.ms-nav-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ms-signin,
.ms-nav-cta {
  display: none;
}
.ms-menu summary {
  list-style: none;
}
.ms-menu summary::-webkit-details-marker {
  display: none;
}
.ms-menu-panel {
  position: absolute;
  top: 64px;
  left: -16px;
  right: -16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--ms-shadow);
  padding: 12px 16px 16px;
}
.ms-menu-panel a {
  padding: 10px 0;
}

/* Hero */
.ms-hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: 40px 32px;
}
.ms-eyebrow {
  display: inline-flex;
  font: 600 13px/1.3 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-text);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 6px 12px;
}
.ms-hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 18px 0;
}
.ms-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--brand-text);
}
.ms-lede {
  font-size: 19px;
  max-width: 34em;
  margin-bottom: 28px !important;
}
.ms-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Product preview: a campaign sending, a phone signing. Made-up names only. */
.ms-stage {
  position: relative;
  min-height: 560px;
}
.ms-panel {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--ms-shadow);
}
.ms-camp {
  left: 0;
  top: 0;
  width: 100%;
  max-width: 460px;
  padding: 18px;
}
.ms-camp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.ms-camp-head b {
  font: 600 15px var(--display);
  color: var(--text);
}
.ms-camp-sub {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ms-tag {
  font: 600 12px var(--display);
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
}
.ms-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--sunken);
  overflow: hidden;
  display: flex;
  margin: 8px 0 10px;
}
.ms-bar i {
  display: block;
  height: 100%;
}
.ms-bar-signed {
  width: 38%;
  background: var(--success);
}
.ms-bar-viewed {
  width: 17%;
  background: var(--brand);
}
.ms-bar-sent {
  width: 10%;
  background: var(--border-strong);
}
.ms-crow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  font-size: 14px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
  align-items: center;
}
.ms-crow b {
  color: var(--text);
}
.ms-chg {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ms-st {
  font: 600 11.5px var(--display);
  padding: 3px 8px;
  border-radius: 999px;
}
.ms-st-signed {
  background: var(--success-soft);
  color: var(--success);
}
.ms-st-viewed {
  background: var(--brand-soft);
  color: var(--brand-text);
}
.ms-st-sent {
  background: var(--sunken);
  color: var(--muted);
}
.ms-phone {
  right: 0;
  bottom: 0;
  width: 64%;
  max-width: 280px;
  border-radius: 30px;
  padding: 12px;
  background: #10245e;
  border: 0;
}
/* The client's phone shows a business's own page, which is light in this picture. */
.ms-screen {
  background: #ffffff;
  color: #3b4558;
  border-radius: 22px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.ms-screen-firm {
  font: 600 12px var(--display);
  color: #10245e;
}
.ms-screen-title {
  font: 600 16px/1.25 var(--display);
  color: #0f172a;
}
.ms-screen-sub {
  color: #5f687a;
}
.ms-opt {
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #0f172a;
}
.ms-opt.is-on {
  border-color: #2459e0;
  box-shadow: inset 0 0 0 1px #2459e0;
  background: #f1f5ff;
}
.ms-sig {
  border-bottom: 1px solid #9aa3b3;
  font:
    italic 19px Georgia,
    serif;
  color: #0f172a;
  padding: 4px 2px;
}
.ms-signbtn {
  background: #2459e0;
  color: #ffffff;
  border-radius: 10px;
  text-align: center;
  padding: 9px;
  font-weight: 700;
}
.ms-ping {
  display: none;
  position: absolute;
  left: 0;
  bottom: 24px;
  max-width: 50%;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--ms-shadow);
  padding: 10px 14px;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.ms-ping b {
  color: var(--text);
}
.ms-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
}
@media (prefers-reduced-motion: no-preference) {
  .ms-dot {
    animation: ms-pulse 2s infinite;
  }
  @keyframes ms-pulse {
    50% {
      box-shadow: 0 0 0 7px transparent;
    }
  }
}

/* Benefits strip */
.ms-strip {
  border-block: 1px solid var(--border);
  background: var(--paper);
}
.ms-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  padding-block: 18px;
  margin-block: 0;
  font-size: 15px;
  color: var(--muted);
}
.ms-strip b {
  color: var(--text);
}

/* Sections */
.ms-sec {
  padding-block: 64px;
}
.ms-sec-tight {
  padding-top: 0;
}
.ms-sec-end {
  padding-bottom: 56px;
}
.ms-sec h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.ms-sub {
  font-size: 18px;
  max-width: 40em;
  margin-bottom: 32px !important;
}
.ms-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--ms-r);
  padding: 22px;
}
.ms-card h3 {
  font-size: 18px;
  margin: 10px 0 6px;
}
.ms-card p {
  font-size: 15.5px;
}
.ms-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: ms-step;
}
.ms-step::before {
  counter-increment: ms-step;
  content: counter(ms-step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font: 600 14px var(--display);
}
.ms-grid3 {
  display: grid;
  gap: 16px;
}
ul.ms-grid3 {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ms-portal h3 {
  margin: 0 0 6px;
}
.ms-quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ms-quote blockquote {
  margin: 0;
}
.ms-quote blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}
.ms-quote figcaption {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--muted);
}
.ms-quote figcaption b {
  color: var(--text);
}
.ms-launch-note {
  margin-top: 8px;
  font-weight: 600;
  color: var(--brand-text);
}
.ms-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-text);
  display: grid;
  place-items: center;
}
.ms-icon svg {
  width: 20px;
  height: 20px;
}
.ms-split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.ms-split h2 {
  margin-top: 14px;
}
.ms-split .ms-sub {
  margin-bottom: 20px !important;
}
.ms-ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ms-ticks li {
  display: flex;
  gap: 10px;
}
.ms-ticks li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}
.ms-flow {
  list-style: none;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--ms-shadow);
}
.ms-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--sunken);
  font-size: 15px;
}
.ms-flow b {
  color: var(--text);
}
/* Three ways to use it: three equal cards, each a link to its section. */
.ms-ways {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.ms-way {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--body);
  text-decoration: none;
}
.ms-way:hover {
  border-color: var(--brand);
}
.ms-way h3 {
  margin-top: 0;
}
.ms-way-more {
  margin-top: auto;
  padding-top: 14px;
  font: 600 14px/1.3 var(--display);
  color: var(--brand-text);
}
.ms-way-more::after {
  content: " →";
}

/* Sample proposals: small versions of the hero's phone (.ms-screen and .ms-opt are shared). */
.ms-minis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.ms-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ms-mini-frame {
  flex: 1;
  display: flex;
  border-radius: 24px;
  padding: 8px;
  background: #10245e;
  box-shadow: var(--ms-shadow);
}
.ms-mini-frame .ms-screen {
  flex: 1;
  padding: 14px 12px;
  gap: 6px;
  font-size: 13px;
}
.ms-mini-frame .ms-screen-title {
  font-size: 15px;
}
.ms-mini-total {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 6px 2px 2px;
  border-top: 1px solid #dfe5ee;
  color: #0f172a;
  font-weight: 700;
}
.ms-mini-frame .ms-signbtn {
  padding: 7px;
  font-size: 13px;
}
.ms-mini-kind {
  text-align: center;
  font: 600 13px/1.3 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The waitlist or invite request, try, and signup forms (fields keep styles.css's .mk-form). */
.ms-join,
.ms-form-page {
  display: grid;
  gap: 24px;
  align-items: start;
}
.ms-join h2 {
  margin-bottom: 10px;
}
.ms-form-intro h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 16px 0 12px;
}
.ms-narrow {
  max-width: 760px;
}
.ms-narrow h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 12px 0 16px;
}
.ms-narrow p {
  margin-bottom: 16px;
}

/* Terms and Privacy: a reading column, with the table of contents beside it on wide screens */
.ms-doc {
  padding-block: 40px 64px;
}
.ms-doc-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.ms-doc-head h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  margin: 12px 0 16px;
}
.ms-doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.ms-toc {
  display: none;
}
.ms-prose {
  max-width: 720px;
  min-width: 0;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ms-prose h2 {
  font-size: 23px;
  line-height: 1.25;
  margin: 40px 0 12px;
}
.ms-prose p,
.ms-prose ul,
.ms-prose ol {
  margin: 0 0 16px;
}
.ms-prose ul,
.ms-prose ol {
  padding-left: 22px;
}
.ms-prose li {
  margin-bottom: 8px;
}
.ms-prose strong {
  color: var(--text);
}
.ms-prose > p:first-child {
  font-size: 15px;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .ms-doc {
    padding-block: 56px 80px;
  }
  .ms-doc-grid {
    grid-template-columns: 240px minmax(0, 720px);
    gap: 56px;
    align-items: start;
  }
  .ms-doc-head {
    margin-left: 296px;
  }
  .ms-toc {
    display: block;
    position: sticky;
    top: 92px;
    font-size: 14.5px;
  }
  .ms-toc-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px !important;
  }
  .ms-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--border);
  }
  .ms-toc li a {
    display: block;
    padding: 5px 0 5px 14px;
    color: var(--muted);
    text-decoration: none;
  }
  .ms-toc li a:hover {
    color: var(--brand-text);
  }
}

/* Closing band */
.ms-band,
.ms-band p {
  color: var(--ms-band-text);
}
.ms-band {
  background: var(--ms-band);
  border-radius: 24px;
  padding: 32px 24px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.ms-band h2 {
  color: #ffffff !important;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 10px;
}
.ms-band .ms-btn-light {
  background: #ffffff;
  border-color: #ffffff;
  color: #10245e !important;
}
.ms-band .ms-btn-light:hover {
  background: #e8efff;
}
.ms-band .ms-btn-outline {
  background: transparent;
  border-color: var(--ms-band-line);
  color: #ffffff !important;
}
.ms-band .ms-btn-outline:hover {
  border-color: #ffffff;
}

/* Pricing */
.ms-phead {
  padding-block: 48px 20px;
  text-align: center;
}
.ms-phead h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  margin-bottom: 12px;
}
.ms-phead p {
  font-size: 18px;
  max-width: 36em;
  margin-inline: auto;
}
.ms-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
  padding-block: 28px 8px;
}
.ms-plan {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.ms-plan.is-highlight {
  border-color: var(--brand);
  box-shadow:
    0 0 0 1px var(--brand),
    var(--ms-shadow);
}
.ms-plan-tag {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--brand);
  color: var(--brand-ink);
  font: 600 12px var(--display);
  padding: 4px 10px;
  border-radius: 999px;
}
.ms-plan h3 {
  font-size: 19px;
}
.ms-plan-for {
  font-size: 14px;
  color: var(--muted);
}
.ms-price {
  font: 600 32px/1.1 var(--display);
  color: var(--text);
  letter-spacing: -0.03em;
}
.ms-price small {
  font: 400 14px var(--sans);
  color: var(--muted);
  letter-spacing: 0;
}
.ms-plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14.5px;
}
.ms-plan-list li {
  display: flex;
  gap: 8px;
}
.ms-plan-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}
.ms-plan-list li.is-no {
  color: var(--muted);
}
.ms-plan-list li.is-no::before {
  content: "–";
  color: var(--muted);
}
.ms-plan .ms-btn {
  margin-top: auto;
  white-space: normal;
  text-align: center;
}

.ms-payg {
  padding-top: 16px;
}
.ms-payg-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  background: var(--paper);
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  padding: 18px 22px;
}
.ms-payg-box h2 {
  font-size: 19px;
  margin-bottom: 4px;
}
.ms-payg-box p {
  font-size: 15.5px;
  max-width: 46em;
}

.ms-calc {
  display: grid;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  align-items: start;
}
.ms-calc-in {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ms-calc h2 {
  font-size: 28px !important;
  margin-bottom: 4px !important;
}
.ms-calc-label {
  font: 600 15px var(--display);
  color: var(--text);
}
.ms-calc-hint {
  font-size: 14px;
  color: var(--muted);
  margin-top: -8px !important;
}
.ms-calc-n {
  font: 600 40px/1 var(--display);
  color: var(--text);
  width: 100%;
  max-width: 220px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg);
  font-variant-numeric: tabular-nums;
}
.ms-calc-range {
  display: none;
  width: 100%;
  accent-color: var(--brand);
}
.js .ms-calc-range {
  display: block;
}
.js .ms-calc-go {
  display: none;
}
.ms-calc-go {
  align-self: flex-start;
}
.ms-calc-needs {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ms-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  cursor: pointer;
}
.ms-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex: none;
}
.ms-calc-res {
  background: var(--sunken);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ms-calc-best {
  font: 600 28px/1.2 var(--display);
  color: var(--text);
  letter-spacing: -0.02em;
}
.ms-calc-best small {
  font: 400 15px var(--sans);
  color: var(--muted);
  letter-spacing: 0;
}
.ms-calc-res table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.ms-calc-res th,
.ms-calc-res td {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-strong);
  text-align: left;
  font-weight: 400;
}
.ms-calc-res td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ms-calc-res tr.is-best th,
.ms-calc-res tr.is-best td {
  color: var(--brand-text);
  font-weight: 700;
}
.ms-calc-res tr.is-out th,
.ms-calc-res tr.is-out td {
  color: var(--muted);
}
.ms-calc-talk {
  font-size: 14.5px;
}

.ms-compare {
  /* Holds the cells' screen-reader labels (.ms-sr is absolute), so they scroll with the table
     instead of widening the page. */
  position: relative;
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.ms-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 720px;
}
.ms-compare th,
.ms-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-weight: 400;
}
.ms-compare th[scope="row"] {
  text-align: left;
  color: var(--text);
}
.ms-compare thead th {
  font: 600 14px var(--display);
  color: var(--text);
  background: var(--sunken);
}
.ms-compare tbody tr:last-child th,
.ms-compare tbody tr:last-child td {
  border-bottom: 0;
}
.ms-yes {
  color: var(--success);
  font-weight: 700;
}
.ms-no {
  color: var(--muted);
}
.ms-faq {
  display: grid;
  gap: 14px;
  align-items: start;
}
.ms-faq details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--ms-r);
  padding: 16px 18px;
}
.ms-faq summary {
  font: 600 16px var(--display);
  color: var(--text);
  cursor: pointer;
}
.ms-faq details p {
  margin-top: 10px;
  font-size: 15.5px;
}

/* Security */
.ms-trust {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}
.ms-trust h2 {
  font-size: 19px;
  margin-bottom: 8px;
}

/* Footer */
.ms-footer {
  border-top: 1px solid var(--border);
  background: var(--paper);
  margin-top: 24px;
}
.ms-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-block: 40px 24px;
  font-size: 15px;
}
.ms-footer-grid > div:first-child {
  grid-column: 1 / -1;
}
.ms-footer-grid > div p {
  margin-top: 10px;
  font-size: 14px;
}
.ms-footer h2 {
  font: 600 14px var(--display);
  color: var(--text);
  margin: 0 0 8px;
}
.ms-footer nav a {
  display: block;
  color: var(--body);
  text-decoration: none;
  padding: 4px 0;
}
.ms-footer nav a:hover {
  color: var(--brand-text);
}
.ms-legal {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 28px;
}

@media (min-width: 400px) {
  .ms-nav-cta {
    display: inline-flex;
  }
}
@media (min-width: 560px) {
  .ms-wrap {
    padding-inline: 24px;
  }
  .ms-menu-panel {
    left: -24px;
    right: -24px;
    padding-inline: 24px;
  }
  .ms-signin {
    display: inline-flex;
  }
  .ms-steps,
  .ms-grid3,
  .ms-minis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* An odd last card fills the row instead of sitting alone. */
  .ms-grid3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .ms-stage {
    min-height: 580px;
  }
  .ms-camp {
    width: 70%;
  }
  .ms-phone {
    width: 44%;
    min-width: 220px;
  }
  .ms-ping {
    display: flex;
  }
  .ms-band {
    padding: 40px;
  }
  .ms-calc {
    padding: 32px;
  }
  .ms-footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
  .ms-footer-grid > div:first-child {
    grid-column: auto;
  }
}
@media (min-width: 860px) {
  .ms-links {
    display: flex;
  }
  .ms-menu {
    display: none;
  }
  .ms-hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    padding-block: 72px 40px;
  }
  .ms-sec {
    padding-block: 80px;
  }
  .ms-sec-tight {
    padding-top: 0;
  }
  .ms-ways {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ms-split,
  .ms-join,
  .ms-form-page,
  .ms-calc,
  .ms-faq,
  .ms-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ms-split,
  .ms-join,
  .ms-form-page {
    gap: 48px;
  }
  .ms-band {
    grid-template-columns: 1.3fr 1fr;
    padding: 56px;
  }
  .ms-band .ms-cta {
    justify-content: flex-end;
  }
  .ms-phead {
    padding-block: 64px 24px;
  }
}
@media (min-width: 1060px) {
  .ms-steps,
  .ms-minis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ms-grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ms-grid3 > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

/* "What's a credit?" under the pricing heading, and "Included on every plan." */
.ms-credit-box {
  background: var(--brand-soft);
  border-radius: 14px;
  padding: 18px 20px;
  max-width: 820px;
  margin: 0 auto 24px;
}
.ms-credit-box h2 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.ms-credit-box p {
  margin: 0;
  line-height: 1.55;
}
.ms-every {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.ms-every li {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface, transparent);
}
