* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

#pencil-root,
.pen-page {
  min-height: 100vh;
  width: 100%;
}

.pen-node {
  box-sizing: border-box;
  min-width: 0;
}

.pen-frame {
  max-width: 100%;
}

.pen-text {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  hyphens: none;
  text-wrap: pretty;
}

.pen-icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
}

.pen-icon svg {
  display: block;
  height: 100%;
  stroke: currentColor;
  width: 100%;
}

.pen-free-stage {
  isolation: isolate;
  max-width: 100%;
}

.pen-clickable {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pen-clickable:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

[data-node-name="Hero pill"] .pen-text,
[data-node-name="formPill"] .pen-text,
[data-node-name="formNavPill"] .pen-text,
[data-node-name="leadEvent"] .pen-text,
[data-node-name="nonEvent"] .pen-text {
  overflow-wrap: normal;
  white-space: nowrap;
}

[data-node-name="Form Hero"] {
  gap: 12px !important;
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

[data-node-name="formPill"] {
  display: none !important;
}

[data-node-name="Hero pill"] .pen-ellipse,
[data-node-name="formPill"] .pen-ellipse,
[data-node-name="ctaPill"] .pen-ellipse {
  flex: 0 0 auto !important;
}

[data-node-name="heroTitle"],
[data-node-name="problemTitle"],
[data-node-name="prospectTitle"],
[data-node-name="solutionTitle"],
[data-node-name="processTitle"],
[data-node-name="proofTitle"],
[data-node-name="ctaTitle"],
[data-node-name="formTitle"] {
  text-wrap: balance;
}

.tcl-hidden-nav-links {
  display: none !important;
}

.tcl-brand-image-wrap {
  align-items: center !important;
  display: flex !important;
  height: 46px !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  width: 170px !important;
}

.tcl-brand-image {
  display: block;
  height: 46px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.tcl-whatsapp-button {
  align-items: center !important;
  display: flex !important;
  gap: 24px !important;
  justify-content: space-between !important;
  min-width: 184px !important;
}

.tcl-whatsapp-button .pen-text {
  flex: 1 1 auto !important;
}

.tcl-whatsapp-icon {
  align-items: center;
  color: #25d366 !important;
  display: inline-flex !important;
  flex: 0 0 20px !important;
  height: 20px !important;
  justify-content: center;
  margin-left: auto;
  width: 20px !important;
}

[data-node-name="Section CTA - WhatsApp"] .tcl-whatsapp-icon,
[data-node-name="leadWhats"] .tcl-whatsapp-icon,
[data-node-name="nonWhats"] .tcl-whatsapp-icon,
[data-node-name="whatsappChip"] .tcl-whatsapp-icon {
  color: #111111 !important;
}

.tcl-whatsapp-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

[data-node-name="Hero metrics"] {
  margin-top: 64px !important;
}

[data-node-name="Hero system mockup"] {
  margin-top: 8px !important;
}

[data-node-name="primaryBtn"],
[data-node-name="ctaButton"],
[data-node-name^="Section CTA"] {
  align-items: center !important;
  display: flex !important;
  justify-content: space-between !important;
}

[data-node-name="primaryBtn"] .pen-text,
[data-node-name="ctaButton"] .pen-text,
[data-node-name^="Section CTA"] .pen-text {
  flex: 1 1 auto !important;
}

[data-node-name="primaryBtn"] .pen-icon,
[data-node-name="ctaButton"] .pen-icon,
[data-node-name^="Section CTA"] .pen-icon {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

[data-node-name="scatter"] {
  align-items: stretch !important;
}

[data-node-name="whatsappChip"],
[data-node-name="excelChip"],
[data-node-name="crmChip"] {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

[data-node-name="whatsappChip"] .pen-text,
[data-node-name="excelChip"] .pen-text,
[data-node-name="crmChip"] .pen-text {
  overflow-wrap: normal !important;
  white-space: nowrap !important;
}

[data-node-name="leadButtonRow"],
[data-node-name="nonButtonRow"] {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: min(100%, 520px) !important;
}

.tcl-completion-whatsapp-intro {
  align-items: center;
  color: #111111;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  width: 100%;
}

.tcl-completion-whatsapp-intro strong {
  font-family: Geist, Inter, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.tcl-completion-whatsapp-intro span {
  color: #666666;
  font-family: Inter, Geist, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 440px;
}

[data-node-name="leadWhats"],
[data-node-name="nonWhats"] {
  align-items: center !important;
  display: flex !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  width: 100% !important;
}

.tcl-moved-messy-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin-top: 20px !important;
  width: 100% !important;
}

.tcl-moved-messy-cards > .pen-frame {
  width: 100% !important;
}

.tcl-form-section {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

.tcl-centered-form-card {
  background: #ffffff !important;
  border: 1px solid #dfe4ed !important;
  box-shadow: 0 14px 48px rgba(17, 17, 17, 0.05);
  max-width: 640px !important;
  padding: 24px !important;
  width: 100% !important;
}

.tcl-form-trust-below {
  max-width: 640px !important;
  min-height: 0 !important;
  width: 100% !important;
}

.pen-live-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.live-form-top {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.live-form-top strong {
  color: #111111;
  font-family: Geist, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.live-progress {
  background: #edf0f5;
  border-radius: 9999px;
  display: block;
  height: 7px;
  overflow: hidden;
  width: 100%;
}

.live-progress span {
  background: #f3e800;
  border-radius: 9999px;
  display: block;
  height: 100%;
  transition: width 180ms ease;
}

.live-question-card {
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  width: 100%;
}

.live-question-card h2 {
  color: #111111;
  font-family: Geist, Inter, sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

.live-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.live-option {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6deea;
  border-radius: 12px;
  color: #333333;
  cursor: pointer;
  display: flex;
  gap: 12px;
  font-family: Inter, Geist, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  min-height: 42px;
  padding: 0 14px;
  text-align: left;
  width: 100%;
}

.live-option.is-selected {
  background: #fffde6;
  border-color: #111111;
  color: #111111;
}

.live-radio {
  border: 2px solid #777777;
  border-radius: 9999px;
  display: block;
  flex: 0 0 16px;
  height: 16px;
  position: relative;
  width: 16px;
}

.live-option-multi .live-radio {
  border-radius: 5px;
}

.live-option.is-selected .live-radio {
  border-color: #111111;
}

.live-option.is-selected .live-radio::after {
  background: #111111;
  border-radius: inherit;
  content: "";
  height: 6px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 6px;
}

.live-contact-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.live-field label {
  color: #555555;
  font-family: Inter, Geist, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.live-field input {
  background: #ffffff;
  border: 1px solid #d6deea;
  border-radius: 12px;
  color: #111111;
  min-height: 46px;
  padding: 0 16px;
  width: 100%;
}

.live-form-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.live-back {
  background: #edf0f5;
  border: 0;
  border-radius: 12px;
  color: #111111;
  cursor: pointer;
  font-family: Inter, Geist, sans-serif;
  font-size: 16px;
  font-weight: 700;
  min-height: 48px;
  padding: 0 20px;
  width: 30%;
}

.live-back:disabled {
  display: none;
}

.live-back:disabled + .live-next {
  width: 100%;
}

.live-next {
  align-items: center;
  background: #f3e800;
  border: 0;
  border-radius: 12px;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  font-family: Geist, Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  width: 70%;
}

.live-error {
  color: #b00020;
  font-family: Inter, Geist, sans-serif;
  font-size: 13px;
  font-weight: 700;
  min-height: 18px;
}

.pen-fallback {
  align-items: center;
  display: flex;
  font: 700 16px Inter, sans-serif;
  min-height: 100vh;
  justify-content: center;
  padding: 32px;
}

@media (max-width: 900px) {
  .pen-page > .pen-frame {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .pen-row-responsive {
    height: auto !important;
    flex-wrap: wrap;
  }

  .pen-row-responsive > .pen-node {
    min-width: 0;
  }

  .pen-page > .pen-frame:first-child {
    align-items: center !important;
    gap: 18px !important;
    height: auto !important;
    justify-content: space-between !important;
    padding-bottom: 18px !important;
    padding-top: 18px !important;
  }

  .pen-page > .pen-frame:first-child > .pen-frame:first-child {
    margin-right: auto !important;
  }

  .pen-page > .pen-frame:first-child > .pen-frame:nth-child(2) {
    display: none !important;
  }

  .tcl-brand-image-wrap {
    height: 40px !important;
    justify-content: flex-start !important;
    width: min(58vw, 176px) !important;
  }

  .tcl-brand-image {
    height: 40px !important;
    object-position: left center !important;
  }

  [data-node-name="Nav CTA"],
  [data-node-name="Hero pill"],
  [data-node-name="formPill"],
  [data-node-name="formNavPill"],
  [data-node-name="leadEvent"],
  [data-node-name="nonEvent"],
  [data-node-name="primaryBtn"],
  [data-node-name="secondaryBtn"],
  [data-node-name="ctaButton"],
  [data-node-name="leadBtn"],
  [data-node-name="leadWhats"],
  [data-node-name="nonBtn"],
  [data-node-name="nonWhats"],
  [data-node-name^="Section CTA"],
  [data-node-name$="Chip"],
  [data-node-name$="Status"],
  [data-node-name$="Tag"] {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: auto !important;
  }

  [data-node-name="Nav CTA"] {
    border-radius: 999px !important;
    flex: 0 0 48px !important;
    gap: 0 !important;
    height: 48px !important;
    justify-content: center !important;
    margin-left: auto !important;
    min-width: 48px !important;
    padding: 0 !important;
    width: 48px !important;
  }

  [data-node-name="Nav CTA"] .pen-text {
    display: none !important;
  }

  [data-node-name="Nav CTA"] .tcl-whatsapp-icon {
    color: #25d366 !important;
    flex: 0 0 22px !important;
    height: 22px !important;
    margin: 0 !important;
    width: 22px !important;
  }

  [data-node-name="Hero pill"] {
    justify-content: center !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  [data-node-name="Hero pill"] .pen-text,
  [data-node-name="formPill"] .pen-text {
    overflow-wrap: break-word;
    white-space: normal;
  }

  [data-node-name="Hero pill"] .pen-ellipse,
  [data-node-name="formPill"] .pen-ellipse,
  [data-node-name="ctaPill"] .pen-ellipse {
    height: 10px !important;
    width: 10px !important;
  }

  .tcl-whatsapp-button {
    min-width: 0 !important;
  }

  .tcl-whatsapp-button .pen-text {
    width: auto !important;
  }

  [data-node-name="Hero actions"],
  [data-node-name="Hero metrics"],
  [data-node-name="Pain cards"],
  [data-node-name="rowA"],
  [data-node-name="rowB"],
  [data-node-name="sharedInner"],
  [data-node-name="speedInner"],
  [data-node-name="messyInner"],
  [data-node-name="bentoRow1"],
  [data-node-name="bentoRow2"],
  [data-node-name="processGrid"],
  [data-node-name="proofGrid"],
  [data-node-name="Dashboard grid"] {
    flex-direction: column !important;
    height: auto !important;
  }

  [data-node-name="Hero actions"] {
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }

  [data-node-name="Hero actions"] [data-node-name="primaryBtn"],
  [data-node-name="primaryBtn"],
  [data-node-name="ctaButton"],
  [data-node-name^="Section CTA"] {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  [data-node-name="primaryBtn"],
  [data-node-name="ctaButton"],
  [data-node-name^="Section CTA"] {
    gap: 18px !important;
    justify-content: space-between !important;
  }

  [data-node-name="Hero metrics"] {
    gap: 14px !important;
    margin-top: 44px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  [data-node-name="Hero system mockup"] {
    align-items: center !important;
    aspect-ratio: auto !important;
    display: flex !important;
    height: auto !important;
    justify-content: center !important;
    margin-top: 16px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 18px !important;
    width: 100% !important;
  }

  [data-node-name="Lead engine dashboard"] {
    border-radius: 18px !important;
    height: auto !important;
    left: auto !important;
    padding: 18px !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="demoTop"] {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="Dashboard grid"] {
    flex-direction: column !important;
    gap: 14px !important;
    height: auto !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="Dashboard grid"] > .pen-node {
    height: auto !important;
    width: 100% !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="Pipeline"],
  [data-node-name="Lead engine dashboard"] [data-node-name="Insights"] {
    gap: 10px !important;
    padding: 14px !important;
    width: 100% !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="statRow"] {
    flex-direction: row !important;
    gap: 10px !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="statA"],
  [data-node-name="Lead engine dashboard"] [data-node-name="statB"] {
    height: auto !important;
    min-height: 82px !important;
    padding: 12px !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="statALabel"],
  [data-node-name="Lead engine dashboard"] [data-node-name="statBLabel"] {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="statAValue"],
  [data-node-name="Lead engine dashboard"] [data-node-name="statBValue"] {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="lead1"],
  [data-node-name="Lead engine dashboard"] [data-node-name="lead2"],
  [data-node-name="Lead engine dashboard"] [data-node-name="lead3"] {
    align-items: center !important;
    flex-direction: row !important;
    min-height: 44px !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="lead1text"],
  [data-node-name="Lead engine dashboard"] [data-node-name="lead2text"],
  [data-node-name="Lead engine dashboard"] [data-node-name="lead3text"] {
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="System flow"] {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    height: auto !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name="System flow"] > .pen-frame {
    flex: 1 1 88px !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name^="flow"] .pen-text {
    white-space: normal !important;
  }

  [data-node-name="Lead engine dashboard"] [data-node-name^="arrow"] {
    display: none !important;
  }

  [data-node-name="Hero actions"] > .pen-node,
  [data-node-name="Hero metrics"] > .pen-node,
  [data-node-name="Pain cards"] > .pen-node,
  [data-node-name="rowA"] > .pen-node,
  [data-node-name="rowB"] > .pen-node,
  [data-node-name="sharedInner"] > .pen-node,
  [data-node-name="speedInner"] > .pen-node,
  [data-node-name="messyInner"] > .pen-node,
  [data-node-name="bentoRow1"] > .pen-node,
  [data-node-name="bentoRow2"] > .pen-node,
  [data-node-name="processGrid"] > .pen-node,
  [data-node-name="proofGrid"] > .pen-node,
  [data-node-name="Dashboard grid"] > .pen-node {
    height: auto !important;
    width: 100% !important;
  }

  [data-node-name="System flow"] {
    flex-wrap: wrap !important;
  }

  [data-node-name="System flow"] > .pen-frame {
    flex: 1 1 64px !important;
    width: auto !important;
  }

  [data-node-name^="flow"] .pen-text {
    font-size: 10px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  [data-node-name="floatingLeft"],
  [data-node-name="floatingRight"] {
    display: none !important;
  }

  [data-node-name="messyVisual"] {
    gap: 14px !important;
  }

  [data-node-name="scatter"] {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  [data-node-name="whatsappChip"],
  [data-node-name="excelChip"],
  [data-node-name="crmChip"] {
    flex: 1 1 142px !important;
    gap: 10px !important;
    height: 54px !important;
    justify-content: center !important;
    width: auto !important;
  }

  [data-node-name="whatsappChip"] .pen-text,
  [data-node-name="excelChip"] .pen-text,
  [data-node-name="crmChip"] .pen-text {
    font-size: 15px !important;
    line-height: 1 !important;
    overflow-wrap: normal !important;
    white-space: nowrap !important;
  }

  [data-node-name="pipelineBox"] {
    padding: 20px !important;
  }

  [data-node-name="pipeRow1"],
  [data-node-name="pipeRow2"],
  [data-node-name="coldQueue"] {
    align-items: center !important;
    flex-direction: row !important;
  }

  [data-node-name="leadButtonRow"],
  [data-node-name="nonButtonRow"] {
    max-width: 300px !important;
    width: calc(100vw - 90px) !important;
  }

  [data-node-name="leadHero"],
  [data-node-name="nonHero"] {
    padding-top: 108px !important;
  }

  [data-node-name="leadPanel"],
  [data-node-name="nonPanel"] {
    gap: 22px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: calc(100vw - 32px) !important;
  }

  [data-node-name="leadTitle"],
  [data-node-name="nonTitle"] {
    font-size: 30px !important;
    line-height: 1.05 !important;
    max-width: 300px !important;
    width: calc(100vw - 90px) !important;
  }

  [data-node-name="leadCopy"],
  [data-node-name="nonCopy"] {
    font-size: 16px !important;
    line-height: 1.45 !important;
    max-width: 300px !important;
    width: calc(100vw - 90px) !important;
  }

  [data-node-name="leadNote"],
  [data-node-name="nonNote"] {
    max-width: 280px !important;
    width: calc(100vw - 110px) !important;
  }

  [data-node-name="leadWhats"],
  [data-node-name="nonWhats"] {
    border-radius: 999px !important;
    min-height: 62px !important;
    padding-left: 24px !important;
    padding-right: 22px !important;
  }

  [data-node-name="leadWhats"] .pen-text,
  [data-node-name="nonWhats"] .pen-text {
    font-size: 16px !important;
    line-height: 1 !important;
    overflow-wrap: normal !important;
    white-space: nowrap !important;
  }

  .tcl-completion-whatsapp-intro strong {
    font-size: 24px;
  }

  .tcl-completion-whatsapp-intro span {
    font-size: 14px;
  }

  .live-form-top,
  .live-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tcl-centered-form-card {
    padding: 16px !important;
  }

  .live-question-card h2 {
    font-size: 22px;
  }

  .live-option {
    font-size: 14px;
    min-height: 40px;
    padding: 0 12px;
  }

  .live-progress,
  .live-next,
  .live-back {
    width: 100%;
  }

  .live-contact-grid {
    grid-template-columns: 1fr;
  }
}
