/* Blocks inserted by the local visual site editor. */
.bf-element-link {
  display: contents;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bf-element-link > * {
  color: inherit;
}

.editor-section {
  width: calc(100% - 36px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) 0;
}

.editor-section h2,
.editor-section h3,
.editor-section p {
  margin-top: 0;
}

.editor-text-block {
  max-width: none;
}

.editor-text-box {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
}

.editor-text-box p {
  margin: 0;
}

.editor-heading {
  max-width: 880px;
  margin: 0;
  color: var(--ink, #181c1b);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.editor-paragraph {
  max-width: 720px;
  margin: 0;
  color: var(--muted, #646b67);
  font-size: 1.08rem;
  line-height: 1.65;
}

.editor-eyebrow,
.editor-caption-text {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.editor-eyebrow {
  color: var(--accent, #0f766e);
}

.editor-caption-text {
  color: var(--muted, #646b67);
}

.editor-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--line, #d8d1c5);
  border-radius: 999px;
  background: var(--paper, #fffdf8);
  background: color-mix(in srgb, var(--paper, #fffdf8) 88%, var(--accent, #0f766e));
  color: var(--ink, #181c1b);
  font-size: 0.82rem;
  font-weight: 750;
}

.editor-spacer {
  display: block;
  width: 100%;
  height: 48px;
}

.editor-divider {
  width: 100%;
  height: 1px;
  background: var(--line, #d8d1c5);
}

.editor-accent-bar {
  width: 96px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent, #0f766e);
}

.editor-button,
.editor-contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.editor-button-primary {
  background: var(--ink, #181c1b);
  color: var(--paper, #fffdf8);
}

.editor-button-secondary {
  border-color: var(--line, #d8d1c5);
  background: var(--paper, #fffdf8);
  color: var(--ink, #181c1b);
}

.editor-button-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--ink, #181c1b);
}

.editor-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.editor-shape {
  display: block;
  width: 160px;
  height: 96px;
  background: var(--accent, #0f766e);
  background: color-mix(in srgb, var(--accent, #0f766e) 22%, var(--paper, #fffdf8));
}

.editor-shape-rounded {
  border-radius: 12px;
}

.editor-shape-circle,
.editor-shape-ring {
  width: 112px;
  height: 112px;
  border-radius: 999px;
}

.editor-shape-ring {
  border: 8px solid var(--accent, #0f766e);
  background: transparent;
}

.editor-shape-pill {
  width: 180px;
  height: 44px;
  border-radius: 999px;
}

.editor-css-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, #d8d1c5);
  border-radius: 10px;
  background: var(--paper, #fffdf8);
  color: var(--accent, #0f766e);
}

.editor-css-icon::before,
.editor-css-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.editor-icon-check::before {
  width: 18px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) translate(1px, -1px);
}

.editor-icon-arrow::before {
  width: 17px;
  height: 17px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg) translate(-3px, 3px);
}

.editor-icon-arrow::after {
  width: 22px;
  height: 3px;
  background: currentColor;
}

.editor-icon-shield::before {
  width: 20px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 10px 10px 12px 12px;
  clip-path: polygon(50% 0, 100% 18%, 88% 78%, 50% 100%, 12% 78%, 0 18%);
}

.editor-icon-bolt::before {
  width: 18px;
  height: 26px;
  background: currentColor;
  clip-path: polygon(55% 0, 18% 50%, 48% 50%, 35% 100%, 84% 38%, 55% 38%);
}

.editor-icon-star::before {
  width: 24px;
  height: 24px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 34%, 98% 34%, 68% 55%, 79% 91%, 50% 69%, 21% 91%, 32% 55%, 2% 34%, 39% 34%);
}

.editor-icon-mail::before {
  width: 24px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.editor-icon-mail::after {
  width: 17px;
  height: 17px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) translateY(-3px);
}

.editor-icon-phone::before {
  width: 15px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.editor-icon-phone::after {
  width: 4px;
  height: 4px;
  bottom: 8px;
  border-radius: 999px;
  background: currentColor;
}

.editor-icon-chart::before {
  width: 24px;
  height: 22px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.editor-icon-chart::after {
  width: 22px;
  height: 18px;
  background:
    linear-gradient(to top, currentColor 42%, transparent 42%) 0 100% / 5px 100% no-repeat,
    linear-gradient(to top, currentColor 68%, transparent 68%) 9px 100% / 5px 100% no-repeat,
    linear-gradient(to top, currentColor 88%, transparent 88%) 18px 100% / 5px 100% no-repeat;
}

.editor-icon-text,
.editor-feature-card,
.editor-stat-card,
.editor-quote-card,
.editor-callout,
.editor-process-step,
.editor-mini-cta,
.editor-contact-chip {
  border: 1px solid var(--line, #d8d1c5);
  background: var(--paper, #fffdf8);
  color: var(--ink, #181c1b);
}

.editor-icon-text {
  display: flex;
  max-width: 560px;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
}

.editor-icon-text h3,
.editor-icon-text p,
.editor-feature-card h3,
.editor-feature-card p,
.editor-stat-card p,
.editor-callout h3,
.editor-callout p,
.editor-process-step h3,
.editor-process-step p,
.editor-mini-cta h3,
.editor-mini-cta p {
  margin-top: 0;
}

.editor-icon-text p,
.editor-feature-card p,
.editor-stat-card p,
.editor-callout p,
.editor-process-step p,
.editor-mini-cta p {
  margin-bottom: 0;
  color: var(--muted, #646b67);
}

.editor-feature-card,
.editor-stat-card,
.editor-callout {
  max-width: 380px;
  padding: 22px;
  border-radius: 8px;
}

.editor-feature-card .editor-css-icon {
  margin-bottom: 18px;
}

.editor-stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
}

.editor-stat-card span {
  display: block;
  margin-bottom: 12px;
  font-weight: 850;
}

.editor-quote-card {
  max-width: 680px;
  margin: 0;
  padding: 24px;
  border-left: 5px solid var(--accent, #0f766e);
  border-radius: 8px;
}

.editor-quote-card p {
  margin: 0 0 14px;
  font-size: 1.18rem;
  line-height: 1.55;
}

.editor-quote-card cite {
  color: var(--muted, #646b67);
  font-style: normal;
  font-weight: 750;
}

.editor-process-step {
  display: flex;
  max-width: 640px;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 8px;
}

.editor-process-step > span {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink, #181c1b);
  color: var(--paper, #fffdf8);
  font-weight: 850;
}

.editor-mini-cta {
  display: flex;
  max-width: 900px;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
}

.editor-contact-chip {
  gap: 10px;
  min-height: 48px;
  border-color: var(--line, #d8d1c5);
}

.editor-contact-chip .editor-css-icon {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
}

.editor-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.editor-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.editor-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line, #d8d1c5);
  background: var(--paper, #fffdf8);
}

.editor-image-block,
.editor-3d-block,
.editor-embed-block {
  margin: 0;
}

.editor-image-block img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border: 1px solid var(--line, #d8d1c5);
}

.editor-inline-image {
  display: block;
  width: min(420px, 100%);
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line, #d8d1c5);
  object-fit: cover;
}

.editor-inline-video {
  display: block;
  width: min(560px, 100%);
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line, #d8d1c5);
  background: #000;
}

.editor-image-card {
  width: min(420px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line, #d8d1c5);
  border-radius: 8px;
  background: var(--paper, #fffdf8);
}

.editor-image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.editor-image-card figcaption {
  padding: 10px 12px;
  color: var(--muted, #646b67);
  font-size: 0.92rem;
}

.editor-caption {
  margin-top: 10px;
  color: var(--muted, #646b67);
  font-size: 0.92rem;
}

.editor-media-text {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.editor-media-text img {
  width: 100%;
  max-width: none;
  max-height: none;
  border: 1px solid var(--line, #d8d1c5);
}

.editor-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.editor-model-viewer {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: 460px;
  border: 1px solid var(--line, #d8d1c5);
  background: var(--paper, #fffdf8);
}

.editor-iframe-3d {
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: 520px;
  border: 1px solid var(--line, #d8d1c5);
  background: var(--paper, #fffdf8);
}

.editor-model-fallback {
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: 28px;
  color: var(--muted, #646b67);
}

.editor-html-block {
  padding: 24px;
  border: 1px dashed var(--line, #d8d1c5);
}

@media (max-width: 820px) {
  .editor-two-column,
  .editor-card-grid,
  .editor-media-text,
  .editor-mini-cta {
    grid-template-columns: 1fr;
  }

  .editor-mini-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .editor-section {
    width: calc(100% - 28px);
    padding: 38px 0;
  }

  .editor-section *,
  main [id] {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .editor-card {
    min-height: auto;
    padding: 18px;
  }

  .editor-button,
  .editor-contact-chip {
    width: 100%;
  }

  .editor-icon-text,
  .editor-process-step {
    align-items: flex-start;
  }

  .editor-model-viewer,
  .editor-model-fallback {
    min-height: 320px;
  }

  .editor-iframe-3d {
    min-height: 360px;
  }

  main img,
  main video,
  main iframe,
  main model-viewer {
    max-width: 100%;
  }
}
