/* ==========================================================================
   K11 Conversion System — page styles (kit/conversion.html)
   ========================================================================== */

/* Shared page bits ------------------------------------------------------- */
.conv-h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -.02em;
}

.conv-h2--tight {
  margin-bottom: 8px;
}

.conv-code {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Pill-shaped CTA previews (non-interactive specimens) */
.cta-pill {
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.cta-pill--sm {
  padding: 10px 16px;
  font-size: 14px;
}

.cta-pill--primary {
  background: var(--action);
  color: var(--on-action);
}

.cta-pill--secondary {
  border-color: var(--line-2);
}

.cta-pill--outline {
  border-color: var(--ink);
}

/* Hero formula · live checker ------------------------------------------- */
.hero-check {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

.hero-check__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.hero-check__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-check__label {
  font-size: 13px;
  font-weight: 600;
}

.hero-check__input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--canvas);
}

.hero-check__input--area {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}

.hero-check__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.check-row__icon {
  width: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neg);
}

.check-row__icon.is-ok {
  color: var(--pos);
}

.check-row__label {
  flex: 1;
}

.check-row__note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* Live preview of the hero */
.hero-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--canvas);
}

.hero-preview__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero-preview__sub {
  color: var(--ink-2);
}

.hero-preview__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-preview__trust {
  font-size: 13px;
  color: var(--ink-3);
}

/* Reserved slot for the live product UI */
.hero-preview__slot {
  display: grid;
  place-items: center;
  height: 80px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* CTAs by stage ---------------------------------------------------------- */
.stage-ctas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.stage-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.stage-cta__single {
  align-self: flex-start;
}

.stage-cta__pair {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stage-cta__note {
  font-size: 13px;
  color: var(--ink-2);
}

/* Objection handling ----------------------------------------------------- */
.objections {
  border-top: 1px solid var(--line);
}

.objection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.objection__q {
  font-size: 15px;
}

.objection__a {
  color: var(--ink-2);
}

.objection__where {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

/* Ethics + performance --------------------------------------------------- */
.conv-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

.conv-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.conv-panel__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -.02em;
}

.conv-panel__note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* "Never do this" list with red crosses */
.never-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.never-list__item {
  display: flex;
  gap: 10px;
}

.never-list__item::before {
  content: "✕";
  color: var(--neg);
  font-weight: 700;
}

/* Core Web Vitals targets */
.vitals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vital {
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-2);
}

.vital__value {
  font-family: var(--font-display);
  font-size: 28px;
}

/* Event taxonomy --------------------------------------------------------- */
.conv-intro {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-2);
}


.events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
}

.event-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

/* Small screens ---------------------------------------------------------- */
@media (max-width: 599px) {
  .objection {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .vital__value {
    font-size: 22px;
    white-space: nowrap;
  }
}
