/* Five free prompts (/prompts). Loaded after site, home, skin and cards
   CSS on prompts.html only, and uses home.css tokens. */

/* How to use: three short steps */
.prompts-how { padding-top: 3rem; padding-bottom: 3rem; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.how-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 12px; }
.how-steps .n { font-family: var(--head); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--sage); }
.how-steps strong { display: block; margin-bottom: 2px; }
.how-steps p { margin: 0; }
.how-steps a { color: var(--berry); font-weight: 600; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.prompts-care { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: rgba(10, 31, 61, .78); }
.prompts-care a { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* The ladder */
.prompts-ladder { background: var(--cream); }
.prompts-ladder .inner { display: grid; gap: 24px; }
.rung { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; min-width: 0; }
.rung-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.rung-letter { flex: 0 0 auto; font-family: var(--head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--rose); letter-spacing: -0.03em; }
.rung-step { display: block; font-weight: 600; font-size: .95rem; color: var(--sage); margin-bottom: 4px; }
.rung h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0; }
.rung p { margin: 0 0 .6rem; }
.rung-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 18px 0 14px; }
.copy-status { font-weight: 600; color: var(--sage); }

/* The prompt itself, folded away until she wants to read it */
.prompt-box { border-top: 1px solid var(--line); padding-top: 12px; }
.prompt-box summary { cursor: pointer; font-weight: 600; color: var(--berry); min-height: 44px; display: flex; align-items: center; }
.prompt-text {
  margin: 10px 0 0;
  padding: 18px;
  background: var(--cream);
  border-radius: 8px;
  font-family: var(--body);
  font-size: .95rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 26rem;
  overflow-y: auto;
}

/* Keep going: newsletter under the two offers */
.prompts-letter { margin: 2.5rem auto 0; max-width: 34rem; text-align: center; }
.prompts-letter h3 { margin-bottom: .5rem; }
.prompts-letter .newsletter-panel-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prompts-letter input[type="email"] { flex: 1 1 14rem; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--navy); border-radius: 8px; font: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 560px) {
  .rung { padding: 22px 18px; }
  .rung-letter { font-size: 2.8rem; }
  .copy-prompt { width: 100%; }
}
