/* Accessible Agendas — order pages, pricing buttons, policies (loads after site.css) */

/* Pricing cards */
.price-card { display: flex; flex-direction: column; }
.price-card p + p { margin-top: .5rem; }
.price-cta { margin-top: auto !important; padding-top: 1.5rem; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.price-card.featured a:not(.btn) { color: var(--white); }
.price-note a { color: var(--muted); }

/* Order form */
.order-form { display: flex; flex-direction: column; gap: 1.5rem; max-width: 640px; margin-top: 1rem; }
.order-form .field { flex: none; }
.order-form .form-note { margin-top: .25rem; }
.optional { font-weight: 400; color: var(--muted); }
.check-field { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; }
.check-field input { width: 1.375rem; height: 1.375rem; margin: .125rem 0 0; flex: none; accent-color: var(--ink); }
.order-form .btn { align-self: flex-start; }

/* Review and pay */
.order-table { min-width: 0; max-width: 640px; }
.order-table td { text-align: right; white-space: nowrap; }
.order-table thead th:last-child { text-align: right; }
.order-table tfoot th, .order-table tfoot td { border-bottom: 0; font-size: 1.0625rem; }
.pay-form { margin: 2rem 0 1.5rem; max-width: 640px; }
.pay-form .form-note { margin-top: 1rem; }
.section .notice h1 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
.section .notice .btn { margin-top: .5rem; }
.section-intro + .form-note { margin: -1rem 0 1.5rem; }

/* Policies */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin: 2.5rem 0 .75rem; }
.prose p + p { margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.25rem; }
.prose li + li { margin-top: .5rem; }

/* Your documents */
.table-scroll + .form-note { margin-top: 1rem; }
.table-scroll + .form-note + p { margin-top: 1.5rem; }

/* Home page illustration */
.doc-card .doc-title { display: block; margin-bottom: 1rem; }
.doc-list { margin: 0; padding-left: 1.5rem; font-size: 1.125rem; }
.doc-list li + li { margin-top: .5rem; }
.doc-caption { font-size: .9375rem; color: var(--muted); font-style: italic; }
.doc-table-caption { caption-side: top; text-align: left; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: .5rem; }
.doc-note { color: var(--muted); font-size: .8125rem; }
.doc-table td:nth-child(2), .doc-table th:nth-child(2) { text-align: right; }
.doc-table td:last-child, .doc-table th:last-child { text-align: right; white-space: nowrap; }

/* Guides */
.breadcrumb ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9375rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; }
.breadcrumb a { color: var(--muted); }
.prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.prose ol { margin: 0; padding-left: 1.5rem; }
.prose ol li + li { margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .625rem .875rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--ink); color: var(--white); }
.prose .lead { font-size: 1.1875rem; margin-top: .75rem; }
.cta-box { background: var(--sand); padding: 1.75rem; margin: 2.5rem 0 0; }
.cta-box h2 { margin-top: 0 !important; }
.cta-box p + p { margin-top: 1rem; }
.guide-more { margin-bottom: 1.5rem !important; }
.guide-note { font-size: .9375rem; color: var(--muted); }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .guide-cards { grid-template-columns: 1fr; } }
.guide-cards li { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; }
.guide-cards h2, .guide-cards h3 { font-size: 1.3125rem; margin: 0 0 .5rem; }
.guide-cards a { text-decoration: none; }
.guide-cards a:hover { text-decoration: underline; }
.faq dt { font-weight: 600; font-size: 1.125rem; margin-top: 1.75rem; }
.faq dd { margin: .5rem 0 0; }
.prose .breadcrumb ol { padding-left: 0; margin: 0 0 1.25rem; }
.prose .breadcrumb li + li { margin-top: 0; }
.prose ol + p, .prose ul + p, .prose table + p { margin-top: 1rem; }
.prose p .btn + .btn { margin-left: .75rem; }
.prose p:has(> .btn) { margin-top: 1.25rem; }
.main-nav a[aria-current] { text-decoration: underline; }
.report { background: var(--sand); padding: 1rem 1.25rem; overflow-x: auto; white-space: pre-wrap; font-size: .875rem; line-height: 1.5; }
.report:focus { outline: 3px solid currentColor; outline-offset: 2px; }
.how-sample { margin-top: 1.5rem; font-weight: 500; }
.brand { display: inline-flex; align-items: center; gap: .625rem; }
.brand-mark { flex: none; }
@media (max-width: 420px) { .brand { font-size: 1.25rem; } .brand-mark { width: 36px; height: 36px; } }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tag { font-family: var(--serif); font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .02em; border-top: 2px solid #D2541C; padding-top: 4px; margin-top: 4px; }
@media (max-width: 420px) { .brand-tag { font-size: .7rem; } }
.brand-mark { width: 52px; height: 52px; }
@media (max-width: 420px) { .brand-mark { width: 42px; height: 42px; } }
/* Help chat */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--sans); }
.chat[hidden], .chat-panel[hidden], .chat-suggest[hidden] { display: none; }
.chat-toggle { background: var(--brick); color: #fff; border: 0; padding: .8rem 1.2rem; font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; box-shadow: 0 6px 18px rgba(27,42,74,.25); min-height: 44px; }
.chat-toggle:hover { background: var(--brick-dark); }
.chat-panel { width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 100px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(27,42,74,.2); order: -1; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ink); color: #fff; padding: .6rem .6rem .6rem 1rem; }
.chat-head h2 { font-family: var(--serif); font-size: 1.125rem; color: #fff; margin: 0; }
.chat-close { background: transparent; border: 0; color: #fff; font-size: 1.75rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.chat-close:focus-visible, .chat-head :focus-visible { outline-color: #fff; }
.chat-log { flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; font-size: .9375rem; min-height: 120px; }
.chat-msg { flex-shrink: 0; max-width: 90%; padding: .6rem .8rem; line-height: 1.45; }
.chat-msg p + p, .chat-msg ul { margin-top: .4rem; }
.chat-msg ul { padding-left: 1.1rem; margin-bottom: 0; }
.chat-bot { background: var(--sand); align-self: flex-start; }
.chat-user { background: var(--ink); color: #fff; align-self: flex-end; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .75rem; }
.chat-suggest button { background: var(--paper); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: .8125rem; padding: .4rem .6rem; cursor: pointer; min-height: 32px; }
.chat-suggest button:hover { border-color: var(--ink); }
.chat-form { padding: .75rem 1rem 0; border-top: 1px solid var(--line); }
.chat-form label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .3rem; }
.chat-row { display: flex; gap: .5rem; align-items: stretch; }
.chat-row textarea { flex: 1 1 auto; min-width: 0; font: inherit; font-size: .9375rem; padding: .5rem; border: 1px solid var(--muted); resize: none; }
.chat-note { font-size: .75rem; color: var(--muted); padding: .5rem 1rem .75rem; margin: 0; }
@media print { .chat { display: none !important; } }
