/* =========================================================
   Pilot-only rules. Loaded after styles.css.
   styles.css is an unchanged copy of the live page's file, so
   it can be re-copied at any time. Everything new lives here,
   prefixed .pl- so nothing collides with an existing class.
   ========================================================= */

/* ---- Price with its terms ---- */
.pl-price {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 36px;
}
.pl-price.center { flex-direction: column; align-items: center; text-align: center; }
.pl-price-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--coral); font-weight: 500;
}
.pl-price-terms { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 48ch; }

/* ---- Generic dark sections ---- */
.pl-section { padding: clamp(72px, 9vw, 120px) var(--pad); background: var(--bg); }
.pl-section.alt { background: var(--bg-2); }

/* ---- What you get: 8 cards, 4 across on desktop ---- */
@media (min-width: 961px) {
  .stack-grid.pl-stack-4 { grid-template-columns: repeat(4, 1fr); }
}
.pl-stack-4 .stack-card { padding: 24px; }
.pl-stack-4 .stack-name { font-size: 19px; }

/* ---- Two boxes side by side ---- */
.pl-two-col {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  align-items: stretch;
}
.pl-two-col .case-what { margin: 0; }
.pl-two-col .case-what p { margin: 0 0 10px; color: #333; line-height: 1.55; }
.pl-two-col .case-what li:last-child { margin-bottom: 0; }
.pl-on-cream { background: #fff; }
.pl-guarantee {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-size: 26px; line-height: 1.2;
  color: var(--bg) !important;
  margin: 0 0 12px !important;
}
@media (max-width: 720px) { .pl-two-col { grid-template-columns: 1fr; } }

/* ---- Proof ---- */
.pl-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--coral); color: var(--coral);
  margin: 0 0 20px;
}
.case .section-lede { color: #4A4A4A; }
.case-april.pl-first { margin-top: 0; }
.pl-note {
  margin: 28px 0 0; padding-top: 20px;
  border-top: 1px solid var(--border-2);
  color: var(--ink-2); font-size: 14px; line-height: 1.55;
  max-width: 72ch;
}
.pl-sub-head { max-width: var(--max); margin: 56px auto 4px; }
.pl-sub-head .kicker { margin-bottom: 12px; }

/* ---- Two video cards ---- */
.testi-grid.pl-two { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
@media (max-width: 960px) { .testi-grid.pl-two { grid-template-columns: 1fr; } }
.testimonials .pl-label { margin-bottom: 0; }

/* ---- Application form ---- */
.pl-check {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink-2); font-size: 15px; line-height: 1.4;
  cursor: pointer;
}
.fields .pl-check input {
  padding: 0; margin: 1px 0 0;
  width: 20px; height: 20px; flex-shrink: 0;
  accent-color: var(--coral);
}
.pl-check.has-error {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--coral) 25%, transparent);
}
.pl-panel .form-sub { color: var(--ink-2); margin-bottom: 16px; }
.pl-panel .check-big { margin: 0 0 24px; }
.pl-panel-note { color: var(--ink-3); font-size: 15px; margin: 0 0 16px; }
.pl-link {
  color: var(--coral); font-size: 15px; padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.pl-capture { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.pl-payload {
  margin: 0; padding: 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--ink-2); font-size: 12px; line-height: 1.5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  max-height: 340px; overflow: auto;
  white-space: pre-wrap; word-break: break-word;
}

/* ---- Review markers (only rendered with ?review=1) ---- */
.pl-confirm {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700;
  font-style: normal; letter-spacing: 0.02em; line-height: 1.5;
  text-transform: none;
  background: #FFE45C; color: #111; border-radius: 3px;
  vertical-align: middle;
}

/* ---- Form footer: keep "Back" on one line on narrow phones ---- */
.form-back { white-space: nowrap; }

/* ---- Our email address, drawn from two halves (see PilotEmail in shell.jsx) ---- */
.pl-mail::before { content: attr(data-u) "\40" attr(data-d); }
.pl-mail { color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-addr .pl-mail { text-decoration: none; color: var(--ink-3); }
.foot-addr .pl-mail:hover { color: var(--coral); }
