html {
  scroll-behavior: smooth;
}

h1 {
  color: white!important;
  text-align: center;
  font-size: 4em;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2em;
  padding-bottom: 0.5em;
  border-bottom: 0;
}

h2 {
  text-align: center;
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25em;
  padding-bottom: 0.5em;
  border-bottom: 0;
}

h3 {
  text-align: center;
  font-size: 1.75em;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25em;
  padding-bottom: 0.5em;
}

.subtitle {
  font-size: 1.75em;
  text-align: center;
  line-height: 1.25em;
  padding-bottom: 1.25em;
  font-style: italic;
}

.description {
  font-size: 1.25em;
  text-align: center;
  line-height: 1.25em;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.quarto-layout-cell {
  width: 100%;
}

.callout-title-container {
  font-size: 1.5em;
  font-weight: 700;
}

.callout-body-container {
  p {
    font-size: 1.15em;
  }
}

/* Borderless callout: ::: {.callout-tip .tile appearance="simple"} */
div.callout.tile {
  border: 0;
  background-color: transparent;
}

/* List with hairline dividers: :::: {.divided} */
.divided > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.divided > * + * {
  border-top: 1px solid var(--bs-border-color) !important;
}

/* Custom callout icon: add an .icon-* class to the callout */
div.callout[class*="icon-"] {
  --icon-size: 1.6rem;
}

div.callout[class*="icon-"] .callout-icon::before {
  width: var(--icon-size);
  height: var(--icon-size);
  background-image: none;
  background-color: #18BC9C;
  mask: var(--icon) no-repeat center / contain;
}

/* keep the body text aligned with the title next to the larger icon */
div.callout[class*="icon-"] .callout-body {
  padding-left: calc(var(--icon-size) + 0.5rem) !important;
}

/* Steps: ::::: {.steps layout-ncol="4"} -- a line joins each step title to the next */
.steps .callout-title-container {
  flex: 0 0 auto !important;
}

.steps .callout-header::after {
  content: "";
  flex: 1 1 auto;
  align-self: center;
  height: 2px;
  margin-left: 0.75rem;
  /* run across the cell gap (20px) and callout padding, stop short of the next number */
  margin-right: calc(-20px - 0.65rem);
  background-color: #18BC9C;
  opacity: 0.5;
}

.steps .quarto-layout-cell:last-child .callout-header::after {
  display: none;
}

@media (max-width: 767.98px) {
  .steps .callout-header::after { display: none; }
}

.icon-location { --icon: url(assets/icons/geo-alt.svg); }
.icon-isolation { --icon: url(assets/icons/shield-lock.svg); }
.icon-phone { --icon: url(assets/icons/telephone.svg); }
.icon-language { --icon: url(assets/icons/translate.svg); }
.icon-step-1 { --icon: url(assets/icons/1-circle-fill.svg); }
.icon-step-2 { --icon: url(assets/icons/2-circle-fill.svg); }
.icon-step-3 { --icon: url(assets/icons/3-circle-fill.svg); }
.icon-step-4 { --icon: url(assets/icons/4-circle-fill.svg); }

/* Side-by-side row: ::::: {.split layout="[[60,40]]"} -- image + text */
.split .quarto-layout-cell {
  margin-right: 4em;
}

.split .quarto-layout-cell:last-child {
  margin-right: 0;
}

.split h3 {
  text-align: left;
  padding-bottom: 0.25em;
}

/* Small uppercase label above a heading: [Label]{.kicker} */
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #18BC9C;
}

/* "Read more" link: [Text →](url){.more-link} */
.more-link {
  font-weight: 700;
  color: #18BC9C;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.callout-style-simple {
  padding-bottom: 1.2em!important;
  padding-top: 1em;
}

.centered p {
  text-align: center;
  font-size: 1.25em;
}

.left-aligned {
  max-width: 1135px;
  margin-left: auto;
  margin-right: auto;
  p {
    text-align: left;
    font-size: 1.25rem;
  }
}
.btn-primary {
  background-color: #18BC9C;
  color: white;
  border: none;
  padding: 0.5em 1.5em;
  font-size: 1.25em;
  border-radius: 6px;
  text-decoration: none;
}

.modal {
  z-index: 1060 !important; /* Higher than the backdrop */
}

.modal-backdrop {
  z-index: 1050 !important;
}

.navbar-title {
  background-image: url('./favicon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 40px;
  display: block;
}

.salessignals {
  background-image: url('./favicon.svg');
  background-repeat: no-repeat;
  background-size: 1em;
  background-position: left center;
  padding-left: 1.2em;
  margin-left: 0.1em;
  display: inline-block;
  font-weight: 600;
}

.callout-icon-container {
  margin-top: 0.35em;
}

.flag-icon {
  display: inline-block;
  background-size: contain;
  width: 1.5em;
  height: 1em;
  background-position: left;
  background-repeat: no-repeat;
  filter: brightness(0.75);
}

.flag-icon-gb {
  background-image: url('./flags/gb.svg');
}

.flag-icon-de {
  background-image: url('./flags/de.svg');
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  filter: brightness(1.2);
}

.nav-footer a {
  font-size: 0.85em;
}

.quarto-color-scheme-toggle:not(.alternate) .bi::before {
 background-image: url('./assets/moon.svg')!important;
}

body.quarto-dark .quarto-color-scheme-toggle > .bi::before {
  background-image: url('./assets/sun.svg')!important;
}

.anchorjs-link {
  display: none;
}

.page-rows-contents {
    grid-template-rows: [content-top] minmax(max-content, 1fr) [content-bottom] minmax(2em, max-content) [page-bottom]!important;
}

li p {
  font-size: 1.25em;
}

div section h3 {
  letter-spacing: 0;
  text-align: left!important;
  font-size: 1.5rem;
  font-weight: 700;
  a {
    text-decoration: none;
  }
}

/* ─── Calculator ──────────────────────────────────────────────
   Scoped to .calc. Targets Observable Inputs' DOM structure:
   form > label  and  form > div > input|select
   Selectors avoid depending on the exact observablehq-- class name. */

.calc {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
  padding: 1.75rem;
  margin: 1.5rem 0;
}

/* The whole input row (label + control wrapper) fills the column. */
.calc form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.85rem 0;
  font-family: inherit;
  font-size: 1rem;
}

/* Fixed-width labels so all fields start at the same x-position. */
.calc form > label {
  flex: 0 0 14rem;
  width: 14rem;
  padding-right: 0.75rem;
  margin: 0;
  font-weight: 500;
  color: var(--bs-body-color);
}

/* The control wrapper (form > div) grows to fill the rest. */
.calc form > div { flex: 1 1 auto !important; width: 100% !important; }
.calc form > div > input { width: 100% !important; }

/* Style the actual controls like Bootstrap .form-control.
   Note the deeper reach: form > div > input, and also direct select. */
.calc form > div > input[type="number"],
.calc form > div > input[type="text"],
.calc form > div > select,
.calc form > select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.375rem 0.375rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius, 0.375rem);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.calc form > div > input:focus,
.calc form > div > select:focus,
.calc form > select:focus {
  outline: 0;
  border-color: #18BC9C;
  box-shadow: 0 0 0 0.2rem rgba(24, 188, 156, 0.2);
}

/* Range slider fills width, brand accent. */
.calc form > div > input[type="range"],
.calc form > input[type="range"] {
  width: 100%;
  accent-color: #18BC9C;
}

/* Any numeric readout Observable appends next to a range. */
.calc form output {
  margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--bs-secondary-color, inherit);
}

/* ─── Result table ─── */
.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6em 0;
}

.calc-result-total {
  font-weight: 700;
  border-top: 2px solid currentColor;
}

.calc .calc-disclaimer > p {
  font-size: 0.85em;
  opacity: 0.65;
  margin-top: 1rem;
}

.calc .column:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─── Responsive: stack label above field on narrow screens ─── */
@media (max-width: 576px) {
  .calc form {
    flex-direction: column;
    align-items: stretch;
  }
  .calc form > label {
    flex-basis: auto;
    width: 100%;
    padding: 0 0 0.25rem 0;
  }
}

.calc form { --input-width: 100%; --label-width: 14rem; }

@media (max-width: 1135px) {
  .calc .columns {
    display: block;   /* or flex-direction: column if it's flex */
  }
  .calc .column {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem 0;
  }
}

.calc .columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.calc .column {
  flex: 1 1 20rem;   /* grow, shrink, min basis ~20rem */
}

//* ─── Contact form ────────────────────────────────────────────
   Plain-HTML form (not Observable). Matches the .calc visual
   register — rounded Bootstrap-style controls, teal focus —
   but targets the form's own .cf- structure. */

.contact-form {
  /* inherits .calc border + padding from the shared rule */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .cf-row {
  display: grid;
  gap: 1rem;
}

.contact-form .cf-row-2 { grid-template-columns: 1fr 1fr; }
.contact-form .cf-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--bs-body-color);
}

.contact-form .cf-label {
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  font-family: inherit;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius, 0.375rem);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 0.5rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: #18BC9C;
  box-shadow: 0 0 0 0.2rem rgba(24, 188, 156, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form .cf-req {
  color: #e67e22;
  font-weight: 400;
  display: inline;
}

.contact-form .cf-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-form .cf-error {
  color: #c0392b;
  font-size: 0.9rem;
}

/* Stack multi-column rows on narrow screens */
@media (max-width: 576px) {
  .contact-form .cf-row-2,
  .contact-form .cf-row-3 {
    grid-template-columns: 1fr;
  }
}

.listing-subtitle {
  font-size: 1.5em;
  padding-bottom: 0.5em;
}

.listing-title {
  font-size: 2em;
  padding-bottom: 0.5em;
}

.btn-gradient {
  border: none;
  color: #fff;
  background-image: linear-gradient(45deg, #8AD9B1, #3FB7AD, #348FA7, #37659E);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover,
.btn-gradient:focus {
  background-position: 100% 50%;   /* subtle shift along the gradient on hover */
  color: #fff;
  box-shadow: 0 0 24px rgba(63, 183, 173, 0.25);  /* soft glow */
}

.btn-gradient:active {
  color: #fff;
}

.cta-btn {
  width: 15em;
  max-width: 100%;        // never exceed viewport
  white-space: nowrap;    // keep on one line on desktop
}

@media (max-width: 480px) {
  .cta-btn {
    width: auto;
    padding-inline: 1.25rem;
    font-size: 1rem;
    white-space: normal;
  }

  h1 {
    color: white!important;
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1em;
    padding-bottom: 0.5em;
    border-bottom: 0;
    white-space: normal;
  }

  h2 {
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.25em;
    padding-bottom: 0.5em;
    border-bottom: 0;
  }

  h3 {
    text-align: center;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.25em;
    padding-bottom: 0.5em;
  }

  .subtitle {
    font-size: 1.5em;
    text-align: center;
    line-height: 1.2em;
    padding-bottom: 1.25em;
    font-style: italic;
  }

  .description {
    font-size: 1.25em;
    text-align: center;
    line-height: 1.2em;
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Navbar waitlist CTA */
.navbar .navbar-nav { align-items: center; }
.navbar .nav-link:has(.nav-cta) {
  display: flex;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.navbar .nav-cta {
  display: inline-block;
  background-color: #18BC9C;
  color: #fff !important;
  padding: 0.4rem 0.95rem;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1.3;
}
.navbar .nav-link:hover .nav-cta,
.navbar .nav-link:focus .nav-cta { background-color: #149a80; color: #fff !important; }

/* ─── Cost teaser tiles (landing) ─────────────────────────────
   Quantified benefit block. Reuses .calc for the shared inputs;
   these rules are only the 4-up result grid beneath them. */
.cost-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.cost-tile {
  display: block;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cost-tile:hover {
  border-color: #18BC9C;
  transform: translateY(-2px);
}
.cost-tile-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bs-secondary-color, inherit);
  margin-bottom: 0.35rem;
}
.cost-tile-value {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cost-tile-value .per {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bs-secondary-color, inherit);
}
.cost-tile-basis {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  min-height: 2.4em;
}
.cost-tile-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #18BC9C;
  margin-top: 0.6rem;
}
.cost-tiles-foot {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1.25rem;
  max-width: 48rem;
}
@media (max-width: 576px) {
  .cost-tiles { grid-template-columns: 1fr; }
  .cost-tile-value { font-size: 1.9rem; }
}

/* ─── Cost slider (landing "what is this costing you") ───────────── */
.cost-slider{max-width:720px;margin:0 auto;text-align:center;padding-bottom: 2em;}
.cost-lead{font-size:clamp(1.15rem,2.5vw,1.55rem);font-weight:400;color:var(--bs-body-color)}
.cost-in{appearance:none;-webkit-appearance:none;background:transparent;border:0;border-bottom:2px solid #18BC9C;
  color:#18BC9C;font:inherit;font-weight:700;cursor:pointer;padding:0 .12em .02em;text-align:center}
.cost-reps,.cost-calls{width:2.2em}
.cost-in:focus{outline:0;border-bottom-color:var(--bs-body-color)}
.cost-reps::-webkit-inner-spin-button,.cost-reps::-webkit-outer-spin-button,
.cost-calls::-webkit-inner-spin-button,.cost-calls::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cost-conn{font-weight:700}
/* slide colours are set inline for light mode; brighten them on dark */
body.quarto-dark .cost-conn{filter:brightness(1.6)}
.cost-num{font-size:clamp(2.8rem,9vw,5.2rem);font-weight:800;line-height:1.02;letter-spacing:-.01em;
  margin:.15rem 0 .1rem;white-space:nowrap;color:var(--bs-body-color)}
.cost-tail{font-size:clamp(1.15rem,2.5vw,1.55rem);font-weight:400;max-width:30rem;margin:0 auto;color:var(--bs-body-color)}
.cost-basis{font-size:.82rem;color:var(--bs-secondary-color,#6b7a86);margin-top:1rem}
.cost-nav{display:flex;align-items:center;justify-content:center;gap:.9rem;margin-top:1.5rem}
.cost-arrow{width:2.2rem;height:2.2rem;border-radius:50%;border:1px solid var(--bs-border-color,#dee2e6);
  background:transparent;color:var(--bs-body-color);font-size:1.15rem;line-height:1;cursor:pointer}
.cost-arrow:hover{border-color:#18BC9C;color:#18BC9C}
.cost-dots{display:flex;gap:.5rem}
.cost-dot{width:.55rem;height:.55rem;border-radius:50%;background:#9aa7b0;border:0;cursor:pointer;
  padding:0;opacity:.55;transition:opacity .2s,background .2s}
.cost-dot.on{background:#18BC9C;opacity:1}
.cost-lnk{display:inline-block;font-size:.88rem;margin-top:1.1rem}
