* {
  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="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;
}

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

.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 18px 60px rgba(17, 17, 17, 0.06);
  max-width: 940px !important;
  padding: 44px !important;
  width: 100% !important;
}

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

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

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

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

.live-progress {
  background: #edf0f5;
  border-radius: 9999px;
  display: block;
  height: 10px;
  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: 22px;
  padding: 0;
  width: 100%;
}

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

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

.live-option {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6deea;
  border-radius: 12px;
  color: #333333;
  cursor: pointer;
  display: flex;
  gap: 14px;
  font-family: Inter, Geist, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  min-height: 78px;
  padding: 0 30px;
  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 22px;
  height: 22px;
  position: relative;
  width: 22px;
}

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

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

.live-contact-grid {
  display: grid;
  gap: 16px;
  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: 62px;
  padding: 0 18px;
  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: 24px;
  font-weight: 700;
  min-height: 72px;
  padding: 0 34px;
  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: 24px;
  font-weight: 800;
  justify-content: center;
  min-height: 72px;
  padding: 0 34px;
  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: center !important;
    padding-bottom: 18px !important;
    padding-top: 18px !important;
  }

  .pen-page > .pen-frame:first-child > .pen-frame:nth-child(2) {
    display: none !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"] {
    min-width: 0 !important;
    width: min(100%, 342px) !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"] > .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="floatingRight"] {
    display: none !important;
  }

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

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

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

  .live-option {
    font-size: 18px;
    min-height: 62px;
    padding: 0 18px;
  }

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

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