/* =====================================================
   Fade Growth Partner, Facebook ad landing page.
   Sits on top of conversion-websites.css and only adds
   what that file does not already have: the lead form,
   the pitch block, and the trust strip.
   ===================================================== */

/* ---------- Lead form card ---------- */

.of-form {
  background: var(--cw-white);
  border-radius: var(--cw-radius-panel);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.of-form__head {
  margin-bottom: 20px;
}

.of-form__head h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}

.of-form__head p {
  margin: 0;
  color: var(--cw-body);
  font-size: 15px;
  line-height: 1.5;
}

.of-field {
  display: block;
  margin-bottom: 14px;
}

.of-field > span {
  display: block;
  font-family: var(--cw-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cw-body);
  margin-bottom: 6px;
}

.of-field input,
.of-field select,
.of-field textarea {
  width: 100%;
  font-family: var(--cw-display);
  font-size: 16px;
  color: var(--cw-ink);
  background: var(--cw-soft);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-sm);
  padding: 13px 14px;
  appearance: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.of-field textarea {
  min-height: 84px;
  resize: vertical;
}

.of-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23585858' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

.of-field input:focus,
.of-field select:focus,
.of-field textarea:focus {
  outline: none;
  background: var(--cw-white);
  border-color: var(--cw-ink);
}

.of-field--half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.of-field--half .of-field {
  margin-bottom: 14px;
}

/* The honeypot. Off screen rather than display:none so bots that skip
   hidden inputs still fill it in. */
.of-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.of-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--cw-body);
  cursor: pointer;
}

.of-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--cw-ink);
  flex: none;
}

.of-submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.of-submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.of-form__foot {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cw-body);
  text-align: center;
}

.of-form__foot a {
  color: var(--cw-ink);
  font-weight: 600;
}

.of-status {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  border-radius: var(--cw-radius-sm);
  padding: 12px 14px;
}

.of-status[hidden] {
  display: none;
}

.of-status--ok {
  background: #eef8d8;
  color: #33461a;
}

.of-status--err {
  background: #fdecec;
  color: #7c1d1d;
}

/* The thank you state replaces the form in place, so the visitor never
   loses their scroll position or wonders whether it sent. */
.of-done h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}

.of-done p {
  margin: 0 0 18px;
  color: var(--cw-body);
  font-size: 15px;
  line-height: 1.55;
}

.of-done .cw-btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Trust strip under the hero ---------- */

.of-trust {
  margin: var(--cw-gutter);
  margin-top: 0;
  background: var(--cw-soft);
  border-radius: var(--cw-radius-panel);
  padding: 26px var(--cw-pad);
}

.of-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.of-trust__label {
  font-family: var(--cw-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cw-body);
}

.of-trust__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--cw-ink);
}

/* ---------- The why it is $100 block ---------- */

.of-pitch {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.of-pitch__quote {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  color: var(--cw-ink);
}

.of-pitch p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--cw-body);
}

.of-pitch p:last-child {
  margin-bottom: 0;
}

.of-pitch__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.of-pitch__who img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.of-pitch__who span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--cw-body);
}

.of-pitch__who b {
  display: block;
  color: var(--cw-ink);
  font-size: 15px;
}

/* ---------- Included list ---------- */

.of-included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.of-included article {
  background: var(--cw-white);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-card);
  padding: 24px;
}

.of-included h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.of-included p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cw-body);
}

/* ---------- Geography callout on the Fade System plan ---------- */

.of-geo {
  border: 1px solid var(--cw-line-strong);
  border-radius: var(--cw-radius-card);
  padding: 20px 22px;
  margin-top: 26px;
  background: var(--cw-white);
}

.of-geo h3 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.of-geo p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cw-body);
}

@media (max-width: 1024px) {
  .of-form {
    max-width: 640px;
    justify-self: start;
  }

  .of-pitch {
    grid-template-columns: minmax(0, 1fr);
  }

  .of-included {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .of-included {
    grid-template-columns: minmax(0, 1fr);
  }

  .of-field--half {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .of-trust {
    padding: 22px;
  }
}
