/* Readability pass for the 320–430px mobile prototype. */
html { scroll-padding-block: 20px 110px; }
h1, h2, h3, .context-strip p, .trail-point p { overflow-wrap: anywhere; }
.subtle, .notice, .renewal, .error, .process p, details p { font-size: 14px; }
.tiny, .sample-caption, footer, footer small { font-size: 12px; }
.eyebrow { font-size: 11px; letter-spacing: 1.6px; }
.button, .button.small { font-size: 15px; line-height: 1.4; }
label.field, .link-button, .back { font-size: 14px; }
.check { font-size: 14px; line-height: 1.55; min-height: 44px; align-items: center; }
.check input { margin: 0; }
.terms-links { font-size: 13px; gap: 0 16px; }
.terms-links a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer { text-align: center; justify-content: center; row-gap: 0; }
footer a { min-height: 32px; }
footer div { gap: 0 16px; justify-content: center; }
footer .footer-copyright { display: block; margin-bottom: 6px; }
.hero-foot span { font-size: 12px; }

/* Account links keep comfortable type and hit areas on narrow phones. */
.site-header:has(nav a) { flex-wrap: wrap; gap: 20px; padding-bottom: 12px; }
.site-header:has(nav a) nav {
  width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px; font-size: 14px;
}
.site-header nav a { display: flex; align-items: center; min-height: 44px; }

/* Supporting copy must remain readable without zooming. */
.quiz-flow .progress-head { font-size: 11px; gap: 12px; }
.quiz-flow .progress-head > span { max-width: 220px; text-align: right; line-height: 1.4; }
.quiz-flow > .eyebrow, .quiz-heading .eyebrow, .situation-heading .eyebrow,
.map-intro .eyebrow, .map-question .eyebrow { font-size: 10px; }
.quiz-flow .lead, .quiz-heading > p, .situation-heading > p, .need-prompt,
body[data-screen=question] .quiz-flow > p, .quiz-flow .reflection-intro { font-size: 15px; line-height: 1.6; }
.situation-option { font-size: 16px; }
.situation-mark { font-size: 11px; }
.optional-context summary, .personal-details summary { font-size: 14px; }
.optional-context summary span, .personal-details summary span { font-size: 12px; }
.personal-details .subtle { font-size: 14px; }
.need-option { font-size: 15px; min-height: 116px; padding: 16px 12px; gap: 8px; }
.need-option .meaning-icon { width: 21px; height: 21px; }
.untangle-scene { height: 160px; }
.benefit-option { font-size: 13px; min-height: 96px; padding-inline: 8px; }
.sheet-meta { font-size: 10px; letter-spacing: .8px; color: #76523f; }
.sheet-description, .step-sample p { font-size: 14px; color: #715357; }
.step-sample strong { font-size: 15px; }
.sheet-footer, .words-sample small, .perspective-sample span { font-size: 12px; color: #79574f; }
.benefit-caption, .reflection-note, .personal-context { font-size: 14px; }
.context-strip small, .trail-point small, .intention-summary small { font-size: 12px; line-height: 1.4; }
.context-strip a, .trail-point a, .map-question a { font-size: 13px; }
.map-intro p { font-size: 14px; }
body[data-screen=question] textarea.question-input {
  font-size: 24px; line-height: 1.45; min-height: 180px; overflow-y: hidden; resize: none;
}
.intention-slot small { display: block; font-size: 10px; line-height: 1.3; min-height: 26px; letter-spacing: .3px; }
.intention-slot p { font-size: 13px; line-height: 1.5; }
.intention-summary { gap: 8px; }
.intention-summary span { font-size: 20px; overflow-wrap: anywhere; }
.letter-label { font-size: 10px; letter-spacing: .6px; gap: 12px; }
.letter-label img { flex-shrink: 0; }
.reflection-letter .reflection { font-size: 21px; line-height: 1.55; }
.reflection-letter p + p { margin-top: 20px; }
.reflection-note { color: #c2afc8; }

/* Keep adjacent symbols in the source sprite out of the top-row slots. */
.symbol-love, .symbol-decision { clip-path: inset(0 0 8% 0); }

/* The mobile offer shows its price before the long FAQ. */
.offer-top h1 { font-size: clamp(34px, 10.5vw, 41px); }
.offer-top .question-quote { font-size: 26px; line-height: 1.35; }
.offer-pricing { margin-top: 32px; }
.timeline { gap: 8px; }
.timeline div { padding: 15px 0; }
.timeline strong { font-size: 15px; }
.timeline small { display: block; font-size: 12px; line-height: 1.45; margin-top: 5px; }
.timeline .eyebrow { font-size: 10px; letter-spacing: .3px; }
.clean-list li, .process strong { font-size: 15px; }
summary { font-size: 15px; min-height: 44px; }
.checkout-grid > section > .section { margin-top: 24px; }
.receipt-line { font-size: 14px; }
.receipt-line small { font-size: 12px; }
.status { font-size: 11px; }

/* The card belongs beside its title; the interpretation gets the full width. */
.reading-section { grid-template-columns: 58px minmax(0, 1fr); gap: 18px; }
.reading-section img { grid-column: 1; grid-row: 1; }
.reading-section h2 { font-size: 28px; margin-bottom: 0; }
.reading-section .eyebrow { font-size: 11px; }
.reading-copy { grid-column: 1 / -1; }
.reading-copy p { font-size: 16px; line-height: 1.75; }
.result-hero h1 { font-size: clamp(30px, 8.2vw, 35px); line-height: 1.16; }
.journal-tabs button { font-size: 12px; min-width: 0; padding: 8px 2px; }

@media (max-width: 374px) {
  .quiz-flow .progress-head > span { max-width: 180px; }
  .need-option { font-size: 14px; padding: 15px 10px; }
  .need-option .meaning-icon { width: 19px; height: 19px; }
  .intentions { grid-template-columns: 1fr; gap: 0; }
  .intention-slot { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 12px; }
  .intention-slot small { grid-column: 1; }
  .intention-slot strong { grid-column: 1; margin-bottom: 0; }
  .intention-slot p { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .intention-summary { grid-template-columns: 1fr; gap: 10px; }
  .intention-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .intention-summary span { margin: 0; }
  .journal-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .panel { padding: 20px; }
  .timeline { gap: 6px; }
}

@media (max-width: 340px) {
  .hero-foot { flex-direction: column; gap: 10px; }
  .hero-foot span { max-width: none; }
  .quiz-flow h1 { font-size: 31px; }
  body[data-screen=ritual] .quiz-flow h1 { font-size: 34px; }
  .fan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; margin-inline: 0; }
  .intention-card { min-width: 44px; width: 100%; height: 105px; }
  .intention-card:nth-child(n) { transform: none; }
  .intention-card[aria-pressed=true] { transform: translateY(-6px); }
  .need-option { flex-direction: column; }
  .benefit-option { font-size: 12px; padding-inline: 5px; }
  .context-strip { gap: 9px; }
  .context-strip p { font-size: 20px; }
}
