/* GetYourDue — Consumer Advocacy */
/* Color: Navy + Amber/Gold — warm, authoritative, dignified */

:root {
    --navy: #1a2744;
    --navy-light: #243456;
    --gold: #d4a843;
    --gold-light: #e8c96a;
    --cream: #faf8f4;
    --white: #ffffff;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --text-muted: #8a8a8a;
    --border: #e0ddd6;
    --success: #2d7a3e;
    --error: #c4342d;
    --letter-bg: #f7f5f0;
    --letter-border: #c9c3b5;
    --gauge-strong: #2d7a3e;
    --gauge-moderate: #b8860b;
    --gauge-weak: #c4342d;
}

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }

a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--gold);
}

/* ---- Layout ---- */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Navigation ---- */

nav {
    background: var(--navy);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--gold);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo:hover { color: var(--gold-light); }

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ---- Hero ---- */

.hero {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero p {
    font-size: 1.25rem;
    color: #c8cdd6;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

.hero-sub {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #8a94a6;
}

/* ---- Pitch Section ---- */

.pitch {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.pitch-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pitch-line {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.pitch-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- Benefits ---- */

.benefits {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
}

.benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---- How It Works ---- */

.how-it-works {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 1.5rem;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--navy);
    color: var(--gold);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---- Social Proof ---- */

.social-proof {
    padding: 4rem 0;
}

.social-proof-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: -0.5rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text);
}

.testimonial cite {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.9rem;
}

/* ---- Pricing ---- */

.pricing {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--cream);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    width: 300px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--gold);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card .price {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1rem 0 0.25rem;
}

.pricing-card .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.pricing-card li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ---- Trust ---- */

.trust {
    padding: 3rem 0;
    text-align: center;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.trust-item {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* ---- Footer ---- */

footer {
    background: var(--navy);
    color: #8a94a6;
    padding: 3rem 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

footer a {
    color: #8a94a6;
    text-decoration: none;
}

footer a:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-company {
    color: #5a6478;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.footer-disclaimer {
    max-width: 400px;
    line-height: 1.5;
    color: #5a6478;
}

/* ---- Chat Page ---- */

.chat-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-layout {
    flex: 1;
    display: flex;
    position: relative;
}

/* ---- Sidebar ---- */

.sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 58px);
    position: sticky;
    top: 58px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-size: 1rem;
    margin: 0;
}

.sidebar-new-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 5px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.sidebar-new-btn:hover {
    background: var(--navy-light);
}

.sidebar-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.sidebar-empty {
    padding: 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.sidebar-item {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.15s;
}

.sidebar-item:hover {
    background: var(--cream);
}

.sidebar-item.active {
    background: var(--cream);
    border-left-color: var(--gold);
}

.sidebar-item-title {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.sidebar-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-item-date {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar-item-status {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.status-active {
    background: #e8f5e9;
    color: var(--gauge-strong);
}

.status-resolved {
    background: #e3f2fd;
    color: #1565c0;
}

.status-escalated {
    background: #fff8e1;
    color: var(--gauge-moderate);
}

.sidebar-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
}

.sidebar-restore-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
}

.sidebar-restore-btn:hover {
    color: var(--navy);
}

.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ---- Chat Main Area ---- */

.chat-main {
    flex: 1;
    min-width: 0;
}

.chat-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 58px);
}

/* ---- Case Code Banner ---- */

.case-code-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: #e8f0fe;
    border: 1px solid #b8d4f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

.case-code-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.case-code-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

.case-code-copy {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
}

.case-code-copy:hover {
    background: var(--navy-light);
}

/* ---- Restore Modal ---- */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 39, 68, 0.92);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--cream);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
}

.modal-box h2 {
    margin-bottom: 0.75rem;
}

.modal-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.restore-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    margin-bottom: 1rem;
}

.restore-input:focus {
    outline: none;
    border-color: var(--navy);
}

.modal-error {
    color: var(--error);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-buttons .cta-button {
    width: 100%;
    text-align: center;
}

.chat-welcome {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.chat-welcome h2 {
    margin-bottom: 0.5rem;
}

.chat-welcome p {
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.message {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    line-height: 1.7;
    font-size: 1rem;
}

.message.user {
    background: var(--navy);
    color: var(--white);
    margin-left: 3rem;
    border-bottom-right-radius: 2px;
}

.message.assistant {
    background: var(--white);
    border: 1px solid var(--border);
    margin-right: 1rem;
    border-bottom-left-radius: 2px;
    padding: 1.5rem 2rem;
}

.message.assistant h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--gold);
}

.message.assistant h2:first-child {
    margin-top: 0;
}

.message.assistant h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.message.assistant h3:first-child {
    margin-top: 0;
}

.message.assistant h4 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.message.assistant strong {
    color: var(--navy);
}

.message.assistant ul, .message.assistant ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.message.assistant li {
    margin-bottom: 0.3rem;
}

.message.assistant em {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.message.assistant p {
    margin-bottom: 0.75rem;
}

.message.assistant p:last-child {
    margin-bottom: 0;
}

/* ---- Structured Output: Case Strength Gauge ---- */

.case-strength {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.case-strength.strong {
    background: #e8f5e9;
    color: var(--gauge-strong);
    border: 1px solid #c8e6c9;
}

.case-strength.moderate {
    background: #fff8e1;
    color: var(--gauge-moderate);
    border: 1px solid #ffecb3;
}

.case-strength.weak {
    background: #fce4ec;
    color: var(--gauge-weak);
    border: 1px solid #f8bbd0;
}

/* ---- Structured Output: Letter Card ---- */

.letter-card {
    background: var(--letter-bg);
    border: 1px solid var(--letter-border);
    border-radius: 8px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.letter-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.letter-card-body {
    padding: 1.5rem;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.copy-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--gold-light);
}

.copy-btn.copied {
    background: var(--success);
    color: var(--white);
}

/* ---- Structured Output: Escalation Roadmap ---- */

.escalation-roadmap {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    flex-wrap: wrap;
}

.roadmap-step {
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
}

.roadmap-step .step-label {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-light);
}

.roadmap-step.active .step-label {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
    font-weight: 600;
}

.roadmap-step.done .step-label {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

.roadmap-arrow {
    color: var(--text-muted);
    padding: 0 0.4rem;
    font-size: 0.7rem;
}

/* ---- Structured Output: Next Step Highlight ---- */

.next-step-box {
    background: #e8f0fe;
    border: 2px solid var(--navy);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.next-step-box .next-step-label {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

/* ---- Chat Input ---- */

.chat-input-area {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.chat-input-area textarea {
    flex: 1;
    padding: 1rem;
    font-family: Georgia, serif;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    resize: none;
    min-height: 60px;
    max-height: 150px;
    line-height: 1.5;
    background: var(--white);
    color: var(--text);
}

.chat-input-area textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.chat-input-area button {
    padding: 1rem 1.5rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    align-self: flex-end;
}

.chat-input-area button:hover {
    background: var(--navy-light);
}

.chat-input-area button:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* ---- Paywall Overlay ---- */

.paywall-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 39, 68, 0.92);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.paywall-overlay.active {
    display: flex;
}

.paywall-box {
    background: var(--cream);
    border-radius: 12px;
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
}

.paywall-box h2 {
    margin-bottom: 1rem;
}

.paywall-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.paywall-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.paywall-buttons .cta-button {
    width: 100%;
    text-align: center;
}

.paywall-buttons .secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.paywall-buttons .secondary:hover {
    background: var(--navy);
    color: var(--white);
}

/* ---- Loading ---- */

.typing-indicator {
    display: inline-flex;
    gap: 4px;
    padding: 0.5rem 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.2s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

/* ---- Legal Pages ---- */

.legal-page {
    padding: 3rem 0;
    max-width: 750px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page p, .legal-page li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-page ul {
    padding-left: 1.5rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    html { font-size: 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 3rem 0; }
    .pitch-line { font-size: 1.4rem; }
    .message.user { margin-left: 1rem; }
    .message.assistant { margin-right: 0.5rem; padding: 1rem 1.25rem; }
    .letter-card-body { padding: 1rem; }
    .nav-links { display: none; }
    .pricing-cards { flex-direction: column; align-items: center; }
    footer .container { flex-direction: column; }
    .escalation-roadmap { flex-direction: column; align-items: flex-start; }
    .roadmap-arrow { transform: rotate(90deg); padding: 0.3rem 0; }

    /* Sidebar: off-canvas on mobile */
    .sidebar {
        position: fixed;
        left: -300px;
        top: 58px;
        height: calc(100vh - 58px);
        z-index: 90;
        transition: left 0.25s ease;
        box-shadow: none;
    }
    .sidebar.open {
        left: 0;
        box-shadow: 4px 0 12px rgba(0,0,0,0.15);
    }
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .case-code-banner {
        flex-wrap: wrap;
    }
    .case-code-value {
        font-size: 0.9rem;
    }
}
