/* public-pages.css — shared accessibility rules for the public pages
   (landing, privacy, FAQ, terms). The reader is often an older person on a
   laptop or a phone, so: a skip link, a focus ring you can actually see, and
   body type that does not drop below 16px. Tailwind (CDN) does the layout. */

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 50;
    background: #1d4ed8;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Long-form reading pages (privacy, FAQ, terms). */
.read {
    font-size: 1.125rem;
    line-height: 1.75;
}
.read a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.read a:hover { color: #1e3a8a; }

/* FAQ answers open in place; the marker stays large enough to tap. */
.faq details { border: 1px solid #d1d5db; border-radius: 0.75rem; background: #fff; }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #111827;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: #1d4ed8; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.25rem 1.25rem; color: #1f2937; }
.faq details > div p + p { margin-top: 0.75rem; }
