/* Public pages (landing, how it works, legal, Black Friday) and Drop a hint. Builds on base.css tokens. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: 1.15rem; }

/* landing hero */
.lp-hero { display: grid; gap: 24px; align-items: center; padding: 12px 0 8px; }
.lp-hero h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); margin: 12px 0 14px; }
.lp-hero .lede { color: var(--ink-2); max-width: 32em; }
.lp-cta { margin-top: 20px; }
.lp-cta .muted { margin: 10px 0 0; }
.lp-btn-big { min-height: 56px; padding: 0 28px; font-size: 1.1rem; width: 100%; }
.lp-sample { transform: rotate(-1deg); border-width: 2px; }
.lp-fake-btn { cursor: default; }
@media (min-width: 760px) {
  .lp-hero { grid-template-columns: 1.3fr 1fr; gap: 48px; padding-top: 32px; }
  .lp-btn-big { width: auto; }
}

/* sections */
.lp-section { margin-top: 56px; }
.lp-section > h2 { margin-bottom: 16px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.lp-steps li { counter-increment: step; position: relative; }
.lp-steps h3::before { content: counter(step) ". "; color: var(--accent); }
.lp-steps p { margin: 0; }
.lp-steps .card + .card { margin-top: 0; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-icon { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }

/* notes become gifts */
.lp-timeline { display: grid; gap: 12px; align-items: center; }
.lp-note p { margin: 10px 0 0; font-size: 1.05rem; }
.lp-note + .lp-note { margin-top: 0; }
.lp-note-pick { border-color: var(--accent); }
.lp-arrow { width: 28px; height: 28px; margin: 0 auto; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
@media (min-width: 760px) {
  .lp-timeline { grid-template-columns: 1fr auto 1fr; }
  .lp-arrow { transform: none; }
}

/* Black Friday band + hint teaser */
.lp-bf { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.lp-bf h2 { margin-top: 12px; }
.lp-bf .btn:not(.btn-primary) { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.lp-free p { max-width: 40em; }
.lp-hint { background: var(--accent-soft); border-color: var(--accent-soft); }
.lp-or { margin-top: 20px; }

/* long-form pages */
.prose { max-width: 680px; margin: 0 auto; }
.prose h2 { margin-top: 32px; font-size: clamp(1.25rem, 3.5vw, 1.6rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose .plug { border-left: 4px solid var(--accent); }
.prose .plug p:last-child { margin: 0; }

/* forms */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; margin: 0; min-width: 0; }
fieldset.card { padding: 20px; }
legend { padding: 0; float: left; width: 100%; }
legend + * { clear: both; }
legend h2 { font-size: 1.25rem; margin: 0; }

/* Drop a hint */
.hint-intro { margin-bottom: 20px; }
.hint-intro h1 { margin-top: 10px; }
.hint-form .card + .card { margin-top: 0; }
.choices-tight { grid-template-columns: repeat(3, 1fr); }
.choices-tight .choice-body { min-height: 48px; justify-content: center; text-align: center; }
.hint-cat { border-top: 1px solid var(--line); padding: 10px 0; }
.hint-cat summary { min-height: 44px; display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.hint-cat .choices { margin-top: 8px; }
.hint-items .choice-body { font-weight: 600; font-size: .95rem; }
.choice input:disabled + .choice-body { opacity: .45; }
.hint-count { font-weight: 700; color: var(--ink); }
.hint-sizes { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .hint-sizes { grid-template-columns: repeat(4, 1fr); } }
.share-link input { text-align: center; font-weight: 600; }
.hint-disclosure { margin-top: 12px; }
.hint-notes, .hint-save { margin-top: 24px; }
.hint-notes p { margin: 0; }
.hint-quote { margin: 0; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.05rem; white-space: pre-line; }
