/* Legal Rights Daily — populist brand chrome */
/* Voice: fight-the-machine, power-to-the-little-man */
/* Palette: navy + gold + Georgia serif (per locked brand) */

:root {
  --navy: #0a1929;
  --navy-deep: #050e1a;
  --gold: #c8a04a;
  --gold-bright: #d4ad55;
  --off-white: #f5f1e8;
  --muted: #8a8478;
  --border: rgba(200, 160, 74, 0.2);
  --serif: Georgia, 'Times New Roman', Times, serif;
  --max-width: 720px;
}

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

html, body {
  background: var(--navy-deep);
  color: var(--off-white);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  flex-direction: column;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 24px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.lang-picker select {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border);
  padding: 6px 10px;
  font-family: var(--serif);
  font-size: 14px;
  cursor: pointer;
  border-radius: 3px;
}

.lang-picker select:hover {
  border-color: var(--gold);
}

.hero {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
}

.hero-headline {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 16px;
}

.hero-body {
  font-size: 19px;
  color: var(--off-white);
  margin-bottom: 16px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 36px 0;
}

.cta-button {
  display: block;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  text-decoration: none;
  padding: 20px 24px;
  font-size: 19px;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(200, 160, 74, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 160, 74, 0.4);
}

.hero-footer-line {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.hero-disclaimer {
  color: var(--off-white);
  font-style: italic;
  font-size: 17px;
}

.not-sure-link {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
}

.not-sure-link a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.not-sure-link a:hover {
  color: var(--gold-bright);
}

.site-footer {
  padding: 32px 24px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-refund, .footer-disclaimer, .footer-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-style: italic;
  color: var(--off-white);
}

.footer-meta {
  margin-top: 16px;
  font-size: 11px;
}

@media (min-width: 640px) {
  .hero-headline { font-size: 44px; }
  .cta-buttons { flex-direction: row; gap: 12px; }
  .cta-button { flex: 1; }
}


/* ─── TRIAGE / CHAT WIDGET ──────────────────────────────────────────────── */

.header-right {
  display: flex;
  align-items: center;
}

.header-disclaimer {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.hero-sub {
  font-size: 19px;
  color: rgba(245,241,232,0.82);
  margin-bottom: 32px;
  max-width: 580px;
}

.intake-section {
  margin-bottom: 72px;
}

.triage-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.triage-input {
  width: 100%;
  padding: 18px 20px;
  font-size: 17px;
  font-family: var(--serif);
  line-height: 1.5;
  color: var(--off-white);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.15s;
  outline: none;
}

.triage-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}

.triage-input::placeholder {
  color: rgba(138,132,120,0.7);
  font-style: italic;
}

.triage-submit-btn {
  align-self: flex-start;
  padding: 16px 36px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.triage-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}

.trust-item {
  font-size: 13px;
  color: var(--muted);
}

/* Loading state */
.triage-loading {
  padding: 40px 0;
  text-align: center;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: lrd-pulse 1.2s ease-in-out infinite;
}

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

@keyframes lrd-pulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1.1); }
}

.loading-text {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
}

/* Result error — shown when free-text triage returns UNKNOWN */
.result-error {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
  padding: 20px 0;
}

/* ─── WHAT WE DO GRID ───────────────────────────────────────────────────── */

.what-we-do {
  margin-bottom: 72px;
}

.section-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.doc-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
  background: rgba(255,255,255,0.02);
  position: relative;
}

.doc-badge { display: none; }

.doc-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 6px;
}

.doc-law {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 8px;
  font-style: italic;
}

.doc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── HOW IT WORKS ──────────────────────────────────────────────────────── */

.how-it-works {
  margin-bottom: 72px;
}

.steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step strong {
  font-size: 17px;
  color: var(--off-white);
  display: block;
  margin-bottom: 4px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── FOOTER DISCLAIMER ─────────────────────────────────────────────────── */

.footer-disclaimer-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-disclaimer-block strong {
  color: var(--off-white);
  display: block;
  margin-bottom: 6px;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .doc-grid { grid-template-columns: 1fr; }
  .triage-submit-btn { align-self: stretch; text-align: center; }
  .header-disclaimer { display: none; }
  .trust-row { gap: 6px 16px; }
}


/* ─── TAP TARGETS ───────────────────────────────────────────────────────── */

.tap-prompt {
  font-size: 22px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 16px;
}

.tap-targets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tap-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, border-color 0.12s, transform 0.1s;
  font-family: var(--serif);
}

.tap-btn:hover {
  background: rgba(200,160,74,0.08);
  border-color: rgba(200,160,74,0.5);
  transform: translateX(3px);
}

.tap-btn:active {
  transform: translateX(1px);
  background: rgba(200,160,74,0.12);
}

.tap-btn .tap-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.3;
}

.tap-btn .tap-law {
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
  font-style: italic;
}

.tap-btn--other {
  border-style: dashed;
  border-color: rgba(200,160,74,0.25);
}

.tap-btn--other .tap-label {
  color: var(--gold);
  font-weight: 400;
  font-size: 15px;
}

.tap-btn--other:hover {
  border-color: var(--gold);
  background: rgba(200,160,74,0.05);
}

.tap-targets--secondary .tap-btn {
  background: rgba(255,255,255,0.02);
  border-color: rgba(200,160,74,0.15);
}

.or-divider {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0 16px;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════════════════
   AI INTAKE CHAT PANEL
   Replaces the static result card + external link flow entirely.
   User stays on legalrightsdaily.org through the full intake.
   ═══════════════════════════════════════════════════════════════════════════ */

.chat-panel {
  margin-bottom: 72px;
}

/* ─ Header ─────────────────────────────────────────────────────────────── */

.chat-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.chat-back-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
  margin-top: 2px;
}
.chat-back-btn:hover { color: var(--gold-bright); }

.chat-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.chat-letter-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.25;
}

.chat-letter-law {
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
}

.chat-price-badge {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

/* ─ Chat log ────────────────────────────────────────────────────────────── */

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  max-height: 500px;
  overflow-y: auto;
  padding-bottom: 16px;
  scroll-behavior: smooth;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(200,160,74,0.2) transparent;
}
.chat-log::-webkit-scrollbar { width: 4px; }
.chat-log::-webkit-scrollbar-thumb { background: rgba(200,160,74,0.25); border-radius: 2px; }

/* ─ Chat bubbles ────────────────────────────────────────────────────────── */

.chat-bubble {
  max-width: 85%;
  padding: 13px 17px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-bubble--assistant {
  background: rgba(200,160,74,0.07);
  border: 1px solid rgba(200,160,74,0.16);
  color: var(--off-white);
  align-self: flex-start;
  border-radius: 2px 10px 10px 10px;
}

.chat-bubble--user {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--off-white);
  align-self: flex-end;
  border-radius: 10px 2px 10px 10px;
}

/* ─ Typing indicator ────────────────────────────────────────────────────── */

.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  background: rgba(200,160,74,0.07);
  border: 1px solid rgba(200,160,74,0.16);
  border-radius: 2px 10px 10px 10px;
  align-self: flex-start;
  width: fit-content;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: lrd-pulse 1.3s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }

/* ─ Input area ──────────────────────────────────────────────────────────── */

.chat-input-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.chat-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-textarea {
  flex: 1;
  padding: 13px 16px;
  font-size: 16px;
  font-family: var(--serif);
  line-height: 1.5;
  color: var(--off-white);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  resize: none;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  min-height: 52px;
}
.chat-textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}
.chat-textarea::placeholder {
  color: rgba(138,132,120,0.55);
  font-style: italic;
}
.chat-textarea:disabled { opacity: 0.45; }

.chat-send-btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  border: none;
  border-radius: 6px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, box-shadow 0.1s;
  font-family: var(--serif);
}
.chat-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(200,160,74,0.4);
}
.chat-send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.chat-input-hint {
  font-size: 11px;
  color: rgba(138,132,120,0.55);
  margin-top: 7px;
  font-style: italic;
  text-align: right;
}

/* ─ Payment CTA ─────────────────────────────────────────────────────────── */

.chat-payment {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.chat-payment-card {
  border: 1px solid rgba(200,160,74,0.28);
  border-radius: 10px;
  padding: 36px 32px;
  background: rgba(200,160,74,0.04);
  text-align: center;
}

.chat-payment-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200,160,74,0.12);
  border: 1px solid rgba(200,160,74,0.35);
  color: var(--gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.chat-payment-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.chat-payment-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.chat-pay-btn {
  display: inline-block;
  padding: 20px 40px;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.chat-payment-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─ Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .chat-header { flex-wrap: wrap; gap: 10px; }
  .chat-price-badge { display: none; }
  .chat-letter-name { font-size: 16px; }
  .chat-bubble { max-width: 94%; font-size: 15px; padding: 11px 14px; }
  .chat-payment-card { padding: 28px 20px; }
  .chat-pay-btn { padding: 18px 28px; font-size: 17px; }
  .chat-input-hint { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRE-PAYMENT THEATER — BLOCKS A, B, D
   Injected into .chat-payment-card by triage.js after intake completes.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Block A — Letter Strength Card ────────────────────────────────────── */

.strength-card {
  background: rgba(200, 160, 74, 0.06);
  border: 1px solid rgba(200, 160, 74, 0.25);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 20px;
  text-align: left;
}

.strength-law {
  font-size: 11px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strength-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 9px;
}

.strength-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.strength-bullets li {
  font-size: 14px;
  color: var(--off-white);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.5;
}

.strength-bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
  top: 5px;
}

.strength-damages {
  font-size: 13px;
  color: rgba(245, 241, 232, 0.7);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 160, 74, 0.12);
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 14px;
  line-height: 1.65;
}

.strength-damages strong {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 4px;
}

.strength-personalization {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(200, 160, 74, 0.1);
  padding-top: 12px;
  line-height: 1.7;
}

.strength-personalization span {
  color: var(--off-white);
}
.strength-legal-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.5;
  font-style: italic;
}

/* ─── Block B — Watermarked Letter Preview ───────────────────────────────── */

.letter-preview-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 4px;
  background: #fff;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 11.5px;
  padding: 22px 24px;
  color: #111;
  line-height: 1.65;
  margin: 0 0 12px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

/* ── Professional Letterhead ─────────────────────────────────────── */
.lp-letterhead {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 9px;
  margin-bottom: 11px;
  border-bottom: 1.5px solid #c8a04a;
}
.lp-lh-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #0a1929;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.2;
}
.lp-lh-sub {
  font-size: 8px;
  color: #666;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
  font-family: Arial, Helvetica, sans-serif;
}

.lp-text {
  position: relative;
  z-index: 1;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── Watermark layer 1 — diagonal −35° ──────────────────────────── */
.lp-wm-layer {
  position: absolute;
  top: -60%;
  left: -50%;
  width: 200%;
  height: 300%;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-35deg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

/* ── Watermark layer 2 — counter-diagonal +35° (cross-hatch) ─────── */
.lp-wm-layer-2 {
  position: absolute;
  top: -60%;
  left: -50%;
  width: 200%;
  height: 300%;
  z-index: 2;
  pointer-events: none;
  transform: rotate(35deg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

.lp-wm-row {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.lp-wm-row span {
  display: block;
  color: rgba(180, 150, 0, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
}

/* Bottom gradient fade — letter "cuts off" */
.lp-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(transparent, #050e1a);
  z-index: 4;
  pointer-events: none;
}

/* ── Preview: un-printable ───────────────────────────────────────── */
@media print {
  .letter-preview-wrap { display: none !important; }
}

/* ─── Block D — Attorney Call Option ─────────────────────────────────────── */

.attorney-toggle {
  background: none;
  border: none;
  padding: 10px 0 4px;
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(138, 132, 120, 0.7);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
  margin-top: 16px;
  transition: color 0.12s;
  text-align: center;
  width: 100%;
}

.attorney-toggle:hover {
  color: var(--muted);
}

.attorney-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.attorney-body.open {
  max-height: 320px;
}

.attorney-inner {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 22px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.attorney-inner h4 {
  font-size: 15px;
  color: var(--off-white);
  margin-bottom: 8px;
  font-weight: 700;
}

.attorney-inner p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.attorney-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(200, 160, 74, 0.3);
  border-radius: 4px;
  color: var(--off-white);
  font-family: var(--serif);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}

.attorney-link:hover {
  border-color: var(--gold);
  background: rgba(200, 160, 74, 0.07);
  color: var(--gold);
}

.attorney-disclaimer {
  font-size: 11px !important;
  color: rgba(138, 132, 120, 0.6) !important;
  font-style: italic;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

/* ─── Responsive — pre-payment theater ──────────────────────────────────── */

@media (max-width: 600px) {
  .strength-card { padding: 18px 18px; }
  .letter-preview-wrap { height: 260px; font-size: 11px; padding: 18px 16px; }
  .attorney-inner { padding: 16px 16px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   COMPLETE PACKAGE — ANCHOR BAR + PRICING GRID
   Adjacent Anchoring (P4) + Compromise Effect (P3)
   Injected into .chat-payment-card by buildPaymentBlocks() in triage.js
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Anchor Bar — Attorney Fee Reference ────────────────────────────────── */

.anchor-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 160, 74, 0.06);
  border: 1px solid rgba(200, 160, 74, 0.2);
  border-radius: 6px;
  padding: 11px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.5;
  text-align: left;
}

.anchor-bar span:first-child {
  font-size: 18px;
  flex-shrink: 0;
}

.anchor-bar strong {
  color: var(--gold);
}

/* ─── Pricing Grid ───────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 18px 18px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.pricing-standard {
  border-color: rgba(200, 160, 74, 0.2);
}

.pricing-complete {
  border-color: var(--gold);
  background: rgba(200, 160, 74, 0.05);
  box-shadow: 0 0 0 1px rgba(200, 160, 74, 0.12);
}

/* ─── Pricing Card Internals ─────────────────────────────────────────────── */

.pricing-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

.pricing-tier-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.pricing-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 14px;
  font-family: var(--serif);
}

.pricing-complete .pricing-amount {
  color: var(--gold);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}

.pricing-list li {
  font-size: 13px;
  color: rgba(245, 241, 232, 0.8);
  padding: 3px 0;
  line-height: 1.5;
}

.pricing-complete .pricing-list li {
  color: var(--off-white);
}

.pricing-save {
  font-size: 11px;
  color: var(--gold);
  font-style: italic;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ─── Pricing CTA Buttons ────────────────────────────────────────────────── */

.cta-standard {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(200, 160, 74, 0.45);
  color: var(--off-white);
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  letter-spacing: 0.01em;
}

.cta-standard:hover {
  background: rgba(200, 160, 74, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.cta-complete {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  text-align: center;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 3px 10px rgba(200, 160, 74, 0.3);
  transition: transform 0.12s, box-shadow 0.12s;
  letter-spacing: 0.01em;
}

.cta-complete:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(200, 160, 74, 0.45);
  color: var(--navy-deep);
}

/* ─── Responsive — pricing grid ─────────────────────────────────────────── */

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-amount { font-size: 24px; }
  .anchor-bar { font-size: 13px; padding: 10px 14px; }
  .cta-standard, .cta-complete { padding: 14px 14px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   COMPLETE PACKAGE — SUCCESS PAGE ZONES 4 / 5 / 6
   Rendered client-side by renderCompleteZones() in success.html
   ═══════════════════════════════════════════════════════════════════════════ */

.zone-complete-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 160, 74, 0.08);
  border: 1px solid rgba(200, 160, 74, 0.3);
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--off-white);
  font-weight: 700;
}

.zone-complete-header span {
  font-size: 20px;
}

.complaint-area-wrap {
  margin-bottom: 16px;
}

.complaint-textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 13px;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.65;
  color: #111;
  background: #fafaf7;
  border: 1px solid rgba(200, 160, 74, 0.35);
  border-radius: 4px;
  resize: vertical;
  min-height: 200px;
  box-sizing: border-box;
}

.complaint-action-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.btn-complaint-copy {
  padding: 11px 22px;
  font-size: 14px;
  font-family: var(--serif);
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-complaint-copy:hover { transform: translateY(-1px); }

.btn-complaint-submit {
  padding: 11px 22px;
  font-size: 14px;
  font-family: var(--serif);
  font-weight: 700;
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
  letter-spacing: 0.01em;
}

.btn-complaint-submit:hover {
  border-color: rgba(200, 160, 74, 0.5);
  background: rgba(200, 160, 74, 0.06);
  color: var(--gold);
}

.complaint-copy-confirm {
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
  display: none;
}

.complaint-copy-confirm.visible { display: inline; }

.complaint-instructions {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(200, 160, 74, 0.1);
  border-radius: 4px;
}

.complaint-instructions strong { color: var(--off-white); }

@media (max-width: 600px) {
  .complaint-action-row { flex-direction: column; align-items: stretch; }
  .btn-complaint-copy, .btn-complaint-submit { text-align: center; }
}
