/* Keep the shared landing surfaces and typography; scope Spelling Bee controls. */
.spelling-landing .ns-hero { padding-block: 28px; }
.spelling-landing .ns-hero__grid { gap: 32px; }
.spelling-landing :is(a, button, input, summary):focus-visible { outline: 3px solid #5c58b8; outline-offset: 4px; }
.spelling-primary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; }
.spelling-primary-actions .ns-text-link { margin-top: 0; font-size: 13px; }
.spelling-learning-summary { color: var(--ns-teal); font-size: 13px; margin-top: 20px !important; }
.spelling-learning-summary span { padding-inline: 5px; }
.spelling-landing .ns-example__head { padding: 20px 22px; }
.spelling-landing .ns-example__body { padding: 16px 22px; }
.spelling-example-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.spelling-example-meta .ns-note { margin: 0; font-size: 12px; }
.spelling-example-pages { display: flex; gap: 6px; }
.spelling-example-pages button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #bdd4db; border-radius: 7px; min-width: 44px; min-height: 44px; padding: 4px 8px; color: var(--ns-teal); background: #fff; font-size: 14px; font-weight: 650; }
.spelling-example-pages button[aria-current="step"] { border-color: var(--ns-teal); color: #fff; background: var(--ns-teal); }
.spelling-example-kind { margin-left: auto; color: var(--ns-muted); font-size: 11px; }
.spelling-listening { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.spelling-listening .btn { font-size: 14px; }
.spelling-landing .spelling-text-button { display: inline-flex; align-items: center; gap: 6px; color: var(--ns-teal); font-size: 13px; font-weight: 650; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; border: 0; background: none; padding: 5px 0; text-align: left; }
.spelling-landing .spelling-word-clue { color: var(--ns-muted); font-size: 14px; margin-bottom: 16px; }
.spelling-input { min-height: 49px; font-size: 16px; margin-bottom: 14px; border-color: #bdd4db; border-radius: 9px; }
.spelling-landing fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.spelling-landing legend { font-size: 14px; font-weight: 650; line-height: 1.5; margin-bottom: 10px; float: none; }
.spelling-choices { display: grid; gap: 8px; }
.ns-page label.spelling-choice { display: flex; align-items: center; gap: 10px; border: 1px solid #bdd4db; border-radius: 10px; padding: 10px 12px; min-height: 46px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.spelling-choice input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--ns-teal); }
.spelling-choice:has(input:checked) { background: #e8f6f1; border-color: var(--ns-teal); }
.ns-page label.spelling-choice.is-incorrect, .spelling-landing .spelling-input.is-incorrect { background: #fff6df; color: #755110; border-color: #bd831c; }
.spelling-landing .ns-feedback strong { display: block; margin-bottom: 5px; }
.spelling-landing .ns-feedback.is-incorrect { background: #fff6df; color: #755110; border: 1px solid #ead2a0; }
.spelling-landing .ns-feedback.is-prompt { background: #eef4f5; color: var(--ns-muted); }
.spelling-sample-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.spelling-sample-next .btn, .spelling-sample-next .ns-text-link { font-size: 13px; }
.spelling-landing .spelling-example-note { font-size: 11px; margin-top: 4px; }
.spelling-word-parts { font-size: 29px; font-weight: 700; margin: 20px 0 22px !important; letter-spacing: -.5px; }
.spelling-word-parts span { color: var(--ns-muted); font-weight: 400; }
.spelling-vocabulary-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.spelling-word { font-size: 28px; font-weight: 750; }
.spelling-landing .spelling-context { color: var(--ns-muted); font-size: 14px; margin: 8px 0 18px; }
.spelling-audio-status { flex-basis: 100%; color: var(--ns-muted); font-size: 12px; }
.spelling-audio-status:empty { display: none; }
.spelling-landing .ns-benefits__grid article { display: block; }
.spelling-landing .ns-benefits__grid h2 { font-size: 18px; margin: 0 0 8px; }
.spelling-levels, .spelling-word-previews { background: #fff; padding-block: 30px; border-block: 1px solid #d2e0e5; }
.spelling-word-previews { border-top: 0; }
.spelling-levels h2, .spelling-word-previews h2 { font-size: 27px; line-height: 1.3; margin: 0 0 24px; }
.spelling-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.spelling-content-grid .ns-eyebrow { font-size: 11px; letter-spacing: 1px; margin-bottom: 8px; }
.spelling-content-grid h3 { font-size: 18px; margin: 0 0 8px; }
.spelling-content-grid article > p:last-child { color: var(--ns-muted); font-size: 15px; line-height: 1.6; }
.spelling-levels .ns-note { margin-top: 20px; }
.spelling-word-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin-top: 16px; }
.spelling-coverage { margin-top: 18px; }
.spelling-next-step { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; }
@media (max-width: 850px) {
    .spelling-landing .ns-hero__grid { gap: 24px; }
    .spelling-example-kind { display: none; }
}
@media (max-width: 700px) {
    .spelling-landing .ns-hero { padding-block: 20px; }
    .spelling-landing .ns-hero h1 { font-size: 31px; margin-bottom: 14px; }
    .spelling-landing .ns-lead { font-size: 14px; }
    .spelling-landing .ns-tags { gap: 6px; margin: 14px 0 16px; }
    .spelling-landing .ns-tags li { font-size: 11px; padding: 5px 9px; }
    .spelling-learning-summary { display: none; }
    .spelling-primary-actions { margin-top: 16px; }
    .spelling-landing .ns-example__head { padding: 16px 18px; }
    .spelling-landing .ns-example__body { padding: 14px 18px; }
    .spelling-content-grid, .spelling-word-preview-grid { grid-template-columns: 1fr; gap: 22px; }
    .spelling-word-preview-grid { gap: 0; }
    .spelling-levels h2, .spelling-word-previews h2 { font-size: 25px; }
}
@media (max-width: 420px) {
    .spelling-primary-actions > .btn { font-size: 14px; }
    .spelling-primary-actions .ns-text-link { width: 100%; }
    .spelling-landing .ns-example__body { padding-inline: 16px; }
    .spelling-landing .ns-note { font-size: 11px; }
}
