/* PPC landing page (ppc-landing.php). Scoped to body.ppc. */
body.ppc {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

.ppc *,
.ppc *::before,
.ppc *::after {
  box-sizing: border-box;
}

.ppc-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.ppc h1,
.ppc h2 {
  font-family: inherit;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
}

.ppc main {
  margin: 0;
  padding: 0;
}

.ppc-header {
  margin: 0;
  background: var(--text);
}

/* The logo file is white, for the dark site navbar. */
.ppc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.ppc-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.ppc-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
}

.ppc-call:hover,
.ppc-call:focus {
  background: var(--orange-dark);
  color: #fff;
  text-decoration: none;
}

.ppc-hero {
  background: linear-gradient(105deg, var(--grey) 0%, var(--grey) 62%, #e4e4e4 62%, #e4e4e4 100%);
  padding: 48px 0;
}

.ppc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: start;
}

.ppc-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.ppc-lead {
  font-size: 1.2rem;
  margin: 0 0 22px;
  max-width: 34em;
}

.ppc-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ppc-checks li {
  position: relative;
  padding: 0 0 0 34px;
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.ppc-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.ppc-hero-image {
  margin: 28px 0 0;
}

.ppc-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

.ppc-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.ppc-card h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 18px;
}

.ppc-card .wpforms-container {
  margin: 0;
}

.ppc-card .wpforms-field-label {
  font-weight: 600;
  font-size: .9rem;
}

.ppc-card input[type=text],
.ppc-card input[type=email],
.ppc-card input[type=tel],
.ppc-card input[type=url],
.ppc-card select,
.ppc-card textarea {
  max-width: 100% !important;
  width: 100% !important;
}

.ppc-card .wpforms-submit,
.ppc-card .wpforms-page-button {
  background: var(--orange) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 24px !important;
  height: auto !important;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.ppc-card .wpforms-submit:hover,
.ppc-card .wpforms-page-button:hover {
  background: var(--orange-dark) !important;
}

/* WPForms resets every element in the form (div.wpforms-container-full .wpforms-form *), so this needs more specificity. */
.ppc-card div.wpforms-container-full .wpforms-form .wpforms-page-indicator {
  background: #ececec;
  border-radius: 10px;
  padding: 14px 16px 16px;
  margin: 0 0 10px;
}

.ppc-card .wpforms-page-indicator-page-progress-wrap {
  background-color: #fff !important;
}

.ppc-card .wpforms-page-indicator-page-progress {
  background-color: var(--text) !important;
}

/* Page 2 onward (js/ppc-landing.js adds .ppc-step2): full-width card, no hero text. */
.ppc-step2 .ppc-hero {
  background: var(--grey);
}

.ppc-step2 .ppc-hero-inner {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.ppc-step2 .ppc-hero-copy {
  display: none;
}

.ppc-body {
  padding: 56px 0;
}

.ppc-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ppc-body h2 {
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.ppc-trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ppc-trade {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 18px 10px;
  text-align: center;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.ppc-trade .ppc-icon {
  display: block;
  margin: 0 auto 10px;
  color: #444;
  width: 52px;
  height: 52px;
}

.ppc-trade span {
  display: block;
}

.ppc-faq details {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.ppc-faq summary {
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-weight: 600;
  list-style: none;
  position: relative;
}

.ppc-faq summary::-webkit-details-marker {
  display: none;
}

.ppc-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
}

.ppc-faq details[open] summary {
  background: var(--text);
  color: #fff;
}

.ppc-faq details[open] summary::after {
  content: "\2212";
}

.ppc-answer {
  padding: 16px;
}

.ppc-answer > :last-child {
  margin-bottom: 0;
}

.ppc-answer a {
  color: var(--text);
  text-decoration: underline;
}

.ppc-footer {
  background: var(--grey);
  padding: 22px 0 28px;
  font-size: .9rem;
  text-align: center;
}

.ppc-footer p {
  margin: 0;
  color: var(--text);
}

.ppc-footer a {
  color: var(--text);
}

.ppc-sticky-call {
  display: none;
}

@media (max-width: 900px) {
  .ppc-hero {
    background: var(--grey);
    padding: 28px 0;
  }
  .ppc-hero-inner,
  .ppc-body-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ppc-hero h1 {
    font-size: 2rem;
  }
  .ppc-hero-image {
    display: none;
  }
  .ppc-call-text {
    display: none;
  }
  .ppc-call {
    padding: 12px 14px;
  }
  .ppc-trade-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ppc-sticky-call {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    /* Overshoot by 2px: iOS Safari leaves a 1px sliver of page background under a fixed bar while its toolbar moves */
    bottom: -2px;
    z-index: 50;
    background: var(--text);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 14px 14px 16px;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .2);
  }
  .ppc-sticky-call:hover {
    color: #fff;
    text-decoration: none;
  }
  body.ppc {
    padding-bottom: 52px;
  }
}

.ppc-answer ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.ppc-answer li {
  margin-bottom: 4px;
}

.ppc-answer p {
  margin: 0 0 12px;
}
