/* Country picker (in the dark footer) and the location suggestion.
   Flat brand geometry: no glows, blurs, gradients or drop shadows. */

.foot2-base .mkt-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 4px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #d3e3f3;
}

.foot2-base .mkt-pick-h {
  font-size: 13px;
  line-height: 1.5;
  color: #d3e3f3;
}

.foot2-base .mkt-pick-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot2-base .mkt-pick a {
  color: #d3e3f3;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}

.foot2-base .mkt-pick a:hover,
.foot2-base .mkt-pick a:focus {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.foot2-base .mkt-pick a[aria-current="page"] {
  color: #fff;
  text-decoration-line: underline;
  text-decoration-color: #FF762B;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.foot2-base .mkt-pick a[aria-current="page"]:hover,
.foot2-base .mkt-pick a[aria-current="page"]:focus {
  text-decoration-color: #FF762B;
  text-decoration-thickness: 2px;
}

.foot2-base .mkt-pick a:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.foot2-base .mkt-pick a:focus:not(:focus-visible) {
  outline: none;
}

.foot2-base .mkt-pick a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (pointer: coarse) {
  .foot2-base .mkt-pick a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
  }
}

.mkt-suggest {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 16px;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 52px 16px 16px;
  background: #fff;
  border: 1px solid #c9d8ea;
  border-left: 4px solid #006BCB;
  color: #0b2440;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.mkt-suggest p {
  margin: 0 0 12px;
  color: #0b2440;
}

.mkt-suggest-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.mkt-go {
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 16px;
  background: #006BCB;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.mkt-go:hover,
.mkt-go:focus {
  background: #005299;
  color: #fff;
}

.mkt-stay {
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #006BCB;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mkt-stay:hover,
.mkt-stay:focus {
  color: #005299;
}

.mkt-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #0b2440;
  cursor: pointer;
}

.mkt-close::before,
.mkt-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.mkt-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mkt-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mkt-go:focus,
.mkt-stay:focus,
.mkt-close:focus {
  outline: 2px solid #006BCB;
  outline-offset: 2px;
}

.mkt-go:focus:not(:focus-visible),
.mkt-stay:focus:not(:focus-visible),
.mkt-close:focus:not(:focus-visible) {
  outline: none;
}

.mkt-go:focus-visible,
.mkt-stay:focus-visible,
.mkt-close:focus-visible {
  outline: 2px solid #006BCB;
  outline-offset: 2px;
}

@media (max-width: 390px) {
  .mkt-suggest {
    bottom: 8px;
    width: calc(100% - 32px);
    padding: 14px 48px 14px 12px;
  }

  .mkt-suggest-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mkt-go,
  .mkt-stay {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-suggest,
  .mkt-suggest * {
    transition: none;
    animation: none;
  }
}

/* A market that sells three plans (na, intl: no Business, decision I-09) fills the row with them. Keyed on the
   number of cards, not on the market, so a market that keeps all four is untouched. Below 900px the v5 pricing
   CSS turns the grid into a swipe row, where columns do not apply. */
.pr-grid:has(> .plan:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Plan cards outside South Africa lead with the free trial (S604). */
.price .mkt-free {
  flex-basis: 100%;
  font: 600 13px/1.4 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0;
  color: #C2410C;
}
.pr-price-slot .mkt-free-lead {
  margin: 0 0 4px;
  font: 600 13px/18px Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #C2410C;
}
.surface-dawn .pr-price-slot .mkt-free-lead,
.plan-highlight .pr-price-slot .mkt-free-lead {
  color: #fff;
}

/* Outside South Africa the home page shows three plans (no Business card), so
   the four-column grid becomes three on wide screens (S604). */
@media (min-width: 1181px) {
  html[data-market] .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The "Why KuduDoc" section on the International and Europe home pages (S603c).
   Same type scale and card surface as the plan cards above it. */
html[data-market] .why { position: relative; padding: 140px 0 0; }
html[data-market] .why .h2 { color: var(--ink); }
html[data-market] .why .lead { color: var(--slate); max-width: 640px; }
html[data-market] .why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 54px 0 0; padding: 0; list-style: none; }
html[data-market] .why-card {
  display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 22px; color: var(--slate);
  background: linear-gradient(180deg, #ffffff, #fdfcf9); box-shadow: inset 0 0 0 1px rgba(16,45,73,.07), 0 1px 2px rgba(16,45,73,.05), 0 16px 40px -22px rgba(16,45,73,.3);
}
html[data-market] .why-card h3 { font: 700 21px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
html[data-market] .why-card p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
html[data-market] .why-card .tlink { margin-top: auto; padding-top: 18px; }
@media (max-width: 1180px) { html[data-market] .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  html[data-market] .why { padding-top: 96px; }
  html[data-market] .why-grid { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
}
