* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background-color: #faf8f3;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #000000;
}

a:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #faf8f3;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000000;
    color: #ffffff;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.site-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000000;
}

.site-title {
    font-size: 1.4rem;
    font-weight: normal;
    font-variant: small-caps;
    margin-bottom: 12px;
}

.main-content {
    margin-bottom: 40px;
}

h1 {
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 24px;
    line-height: 1.3;
}

h2 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 32px;
    margin-bottom: 12px;
    text-decoration: underline;
}

h3 {
    font-size: 1.1rem;
    font-weight: normal;
    margin-top: 24px;
    margin-bottom: 8px;
    font-style: italic;
}

p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

p.indented {
    text-indent: 2em;
}

ul, ol {
    margin-left: 2em;
    margin-bottom: 16px;
}

li {
    margin-bottom: 6px;
    font-size: 1.05rem;
    line-height: 1.7;
}

a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    color: #004499;
}

.practice-list {
    list-style: none;
    margin-left: 0;
    margin-bottom: 24px;
}

.practice-list li {
    margin-bottom: 10px;
    padding-left: 0;
}

.practice-list a {
    font-size: 1.05rem;
}

.contact-cta {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #000000;
}

.contact-cta p {
    margin-bottom: 8px;
}

.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 28px;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.faq-answer {
    margin-bottom: 0;
}

.back-link {
    font-size: 0.9rem;
    font-style: italic;
    display: block;
    margin-bottom: 32px;
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #000000;
}

.site-footer p {
    color: #000000;
    font-family: "Times New Roman", Times, serif;
    font-size: 0.9rem;
    margin: 0;
}

.site-footer a {
    color: #0066cc;
    text-decoration: underline;
}

/* ── View toggle ── */

.view-toggle {
    display: inline-flex;
    border: 1px solid #000;
    border-radius: 100px;
    overflow: hidden;
    font-size: 0.82rem;
}

.view-toggle a {
    display: block;
    padding: 7px 22px;
    text-decoration: none;
    color: #000;
    background: transparent;
    font-style: normal;
    letter-spacing: 0.02em;
}

.view-toggle a:hover:not([aria-current="page"]) {
    background: #ede8df;
}

.view-toggle a[aria-current="page"] {
    background: #000;
    color: #faf8f3;
    text-decoration: none;
}

/* ── Site subtitle (shared both views) ── */

.site-subtitle {
    font-size: 0.88rem;
    font-style: italic;
    color: #555;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

/* ── AI view: centering ── */

.agent-view h1,
.agent-view h2,
.agent-view h3 {
    text-align: center;
}

.agent-view .contact-cta { text-align: center; }

/* ── Human view: centering and layout ── */

.human-view h1,
.human-view h2 {
    text-align: center;
}

.human-view h1 {
    margin-bottom: 6px;
}

.human-view p.intro {
    text-align: center;
    color: #555;
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 1rem;
}

.human-view h3 {
    text-align: center;
}

.human-view .contact-cta {
    text-align: center;
}

/* ── Key facts box ── */

.facts-box {
    border: 1px solid #000;
    margin: 20px 0 36px;
}

.facts-row {
    display: flex;
    padding: 10px 18px;
    border-bottom: 1px solid #e0dbd0;
    align-items: baseline;
    gap: 20px;
}

.facts-row:last-child { border-bottom: none; }

.facts-row dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    width: 130px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.facts-row dd {
    margin: 0;
    font-size: 0.95rem;
}

/* ── Accordion FAQ ── */

.faq-accordion {
    border: 1px solid #ccc;
    margin-top: 16px;
}

.faq-accordion details {
    border-bottom: 1px solid #ccc;
}

.faq-accordion details:last-child { border-bottom: none; }

.faq-accordion summary {
    padding: 13px 40px;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    user-select: none;
    list-style: none;
}

.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::marker { content: ''; }

.faq-accordion summary::after {
    content: '+';
    font-size: 1.1rem;
    color: #888;
    font-style: normal;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-accordion details[open] > summary::after { content: '\2212'; }

.faq-accordion details[open] > summary {
    border-bottom: 1px solid #ccc;
    font-style: italic;
}

.faq-body {
    padding: 14px 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

.faq-body p { margin-bottom: 0; font-size: 0.95rem; }

/* ── Practice area linked headings ── */

h3 a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #999;
}

h3 a:hover { border-bottom-color: #000; }

/* ── Nearly invisible structured data for AI agents ── */

.agent-signal {
    color: #cac3b0;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 32px;
    margin-bottom: 32px;
}

.agent-signal p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* ── Source context block ── */

.source-context {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e8e3d8;
}

.source-context h2 {
    font-size: 0.9rem;
    text-decoration: none;
    color: #666;
    margin-top: 0;
    margin-bottom: 8px;
}

.source-context dl {
    margin: 0;
}

.source-context dt {
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 10px;
    margin-bottom: 2px;
}

.source-context dd {
    margin-left: 0;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.4rem;
    }
}
