/* ---------------------------------------------------------------------
   The Line sales pages — /veterans/ first, then /angel/, /last-number/,
   /child/ and /celebration/ (J, 1 November).

   Loaded AFTER home-2026.css, and built from its tokens and classes:
   cream, terracotta, Playfair headings, DM Sans text, .hp-btn, .hp-wrap,
   the top bar and the fg-footer. Only what the sales pages add is here.
   Type floor 16px for running text (§6 rule 15).
   --------------------------------------------------------------------- */

.lp { background: var(--cream); color: var(--ink); }
/* `hidden` must win over .hp-btn and .lp-actions, which set display. The
   Buy and Gift buttons start hidden until their plan can be bought
   (assets/plans.js), and a hidden button that still showed would be a
   checkout link for a plan with no price. */
.lp [hidden], .lp[hidden] { display: none !important; }
.lp section { padding: 72px 0; }
.lp-band { background: var(--cream-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lp-narrow { max-width: 46em; }
.lp-center { text-align: center; }
.lp-center .lp-narrow { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.lp .lp-hero { padding: 64px 0 56px; }
.lp-hero h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; max-width: 18em; }
.lp-hero .hp-sub { font-size: 1.1875rem; max-width: 34em; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hp-btn.lp-btn-quiet { background: transparent; color: var(--terracotta-dark);
  box-shadow: inset 0 0 0 1.5px var(--terracotta); }
.hp-btn.lp-btn-quiet:hover { background: rgba(169,85,46,.08); color: var(--terracotta-dark); }
.lp-hero-fine { margin: 0; }

/* ---------- steps ---------- */
.lp-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px; margin: 28px 0 0; padding: 0; counter-reset: lp-step; }
.lp-steps li { counter-increment: lp-step; background: #FBF7F1; border: 1px solid var(--rule);
  border-radius: 12px; padding: 24px 22px; }
.lp-steps li::before { content: counter(lp-step); display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream-deep); color: var(--terracotta-dark);
  font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.lp-steps h3 { margin-bottom: 6px; }
.lp .lp-steps p { margin: 0; }

/* ---------- example link ---------- */
.lp-example { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: #FBF7F1; border: 1px solid var(--rule); border-radius: 12px; padding: 26px 28px; }
.lp .lp-example p { margin: 0; max-width: 36em; }
.lp-example h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 6px; }

/* ---------- features ---------- */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px 34px; margin-top: 28px; }
.lp-feature { background: #FBF7F1; border: 1px solid var(--rule); border-radius: 12px; padding: 22px 22px 24px; }
.lp-feature h3 { font-size: 1.2rem; }
.lp .lp-feature p { margin: 0; }

/* ---------- pricing ---------- */
.lp-price-card { max-width: 30em; margin: 28px auto 0; background: #FBF7F1; border: 1px solid var(--rule);
  border-radius: 12px; padding: 32px 30px; text-align: center; }
.lp-price-card h3 { font-size: 1.5rem; }
.lp .lp-price { font-family: "Playfair Display", Georgia, serif; font-size: 2.6rem; line-height: 1.1; margin: 10px 0 4px; }
.lp-price .hp-per { font-family: "DM Sans", system-ui, sans-serif; font-size: 1rem; color: var(--ink-soft); }
.lp-price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; text-align: left; }
.lp-price-card li { padding: 8px 0 8px 26px; border-top: 1px solid var(--rule); position: relative; font-size: 1.0625rem; }
.lp-price-card li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--terracotta); opacity: .75; }
.lp-price-card .lp-actions { justify-content: center; }
.lp .lp-price-fine { margin: 14px auto 0; max-width: 34em; }
/* Two plans side by side (/line/), one column on a phone. */
.lp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; max-width: 62em; margin: 28px auto 0; }
.lp-prices .lp-price-card { margin: 0; max-width: none; display: flex; flex-direction: column; }
.lp-prices .lp-price-card .lp-actions { margin-top: auto; }
.lp .lp-tier-use { color: var(--ink-soft); margin: 0 0 4px; }
/* A short list under a heading (/line/: what you hear). */
.lp-list { max-width: 40em; margin: 22px auto 0; padding-left: 1.2em; text-align: left; }
.lp-list li { margin: 0 0 10px; }

/* ---------- FAQ (native <details>, no script) ---------- */
.lp-faq { max-width: 46em; margin: 24px auto 0; }
.lp-faq details { border-top: 1px solid var(--rule); }
.lp-faq details:last-child { border-bottom: 1px solid var(--rule); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: "DM Sans", sans-serif;
  font-size: 1.5rem; color: var(--terracotta); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.lp-faq details > div { padding: 0 0 18px; }

/* ---------- a plain-language note, and the closing band ---------- */
.lp-note { background: #FBF7F1; border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; max-width: 46em; }
.lp-note + .lp-note { margin-top: 14px; }
.lp-note h3 { font-size: 1.15rem; }
.lp-note p:last-child { margin-bottom: 0; }
.lp-close { text-align: center; }
.lp-close h2 { max-width: 20em; margin-left: auto; margin-right: auto; }
.lp-close .lp-actions { justify-content: center; }

/* ---------- forms carried over from the older pages (the nomination form) ---------- */
.lp-form { max-width: 680px; background: #FBF7F1; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(1.4rem, 3vw, 2.1rem); }
.lp-form .lp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-form .lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-form .lp-field.wide, .lp-form fieldset, .lp-form .lp-part { grid-column: 1 / -1; }
.lp-form label, .lp-form legend { font-size: .9375rem; font-weight: 600; }
.lp-form .hint { font-weight: 400; color: var(--ink-soft); font-size: 1rem; }
.lp-form input[type=text], .lp-form input[type=email], .lp-form input[type=tel], .lp-form textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--rule);
  border-radius: 8px; padding: 11px 13px; min-height: 46px; width: 100%; }
.lp-form textarea { min-height: 104px; resize: vertical; }
.lp-form input:focus, .lp-form textarea:focus { outline: 3px solid rgba(169,85,46,.35); outline-offset: 1px; border-color: var(--terracotta); }
.lp-form fieldset { border: 0; margin: 0; padding: 0; }
.lp-form legend { margin-bottom: 10px; padding: 0; }
.lp-choices { display: flex; flex-direction: column; gap: 10px; }
.lp-choice { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; min-height: 48px; background: var(--cream);
  border: 1.5px solid var(--rule); border-radius: 8px; cursor: pointer; font-weight: 400; }
.lp-choice:has(input:checked) { border-color: var(--terracotta); background: rgba(169,85,46,.06); }
.lp-choice input { width: 20px; height: 20px; accent-color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }
.lp-choice b { display: block; font-weight: 600; line-height: 1.4; }
.lp-choice span span { display: block; color: var(--ink-soft); font-size: .9375rem; margin-top: 3px; }
.lp-form .lp-part { font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; font-weight: 600;
  padding-top: 16px; border-top: 1px solid var(--rule); margin: 6px 0 0; }
.lp-form .hp-btn { width: 100%; margin-top: 20px; }
.lp-form .lp-form-note { text-align: center; margin: 12px 0 0; }
.lp-hp, .lp-hp[hidden] { display: none !important; }

@media (max-width: 46em) {
  .lp section { padding: 52px 0; }
  .lp .lp-hero { padding: 40px 0 44px; }
  .lp-actions .hp-btn { flex: 1 1 100%; text-align: center; }
  .lp-form .lp-grid { grid-template-columns: 1fr; }
  .lp-example { padding: 22px 20px; }
}

/* The homepage's "A Line for every story" (J, 4 November): the price cards, with a short last row centred. */
.lp-prices.lp-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.lp-cards .lp-price-card { flex: 0 1 300px; }
.lp-cards .lp-price .hp-per { display: inline-block; }
