/* LawyerAdvisorMatch — burgundy + cream + brass, traditional-law-firm feel. */
:root {
  --wine: #7a1e2c; --wine-deep: #4d131c; --wine-light: #a14658;
  --cream: #f8f3e9; --cream-2: #ede3cc;
  --ink: #1a1410; --ink-soft: #4b3f36; --muted: #78685a;
  --brass: #b8935e; --border: #e0d5c0; --surface: #fff;
  --max-w: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Source Serif Pro", Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: "Source Serif Pro", Georgia, serif; color: var(--wine); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.55rem; margin: 2.5rem 0 0.75rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--brass); }
h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; color: var(--wine-deep); }
a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--wine-deep); }
p { margin: 0 0 1rem; } strong { color: var(--ink); }
ul,ol { padding-left: 1.25rem; } li { margin: 0.4rem 0; }
code { background: var(--cream-2); color: var(--wine-deep); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; font-family: "Courier New", monospace; }
.re-container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.re-wide { max-width: 980px; }
header.re-site { background: var(--wine); color: var(--cream); padding: 1rem 0; }
header.re-site .re-container { display: flex; justify-content: space-between; align-items: baseline; }
.re-brand { font-family: "Source Serif Pro", Georgia, serif; font-weight: 700; font-size: 1.2rem; color: var(--cream); text-decoration: none; letter-spacing: 0.02em; }
.re-brand::before { content: "§ "; color: var(--brass); }
nav.re-nav a { margin-left: 1.5rem; font-size: 0.92rem; color: var(--cream-2); text-decoration: none; }
nav.re-nav a:hover { color: var(--brass); text-decoration: underline; }
main.re-main { padding: 2.5rem 0 4rem; }
.re-hero { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.re-hero h1 { font-size: 2.75rem; color: var(--wine); }
.re-hero .re-tag { font-size: 1.2rem; color: var(--ink-soft); margin-top: 0.5rem; font-style: italic; }
.re-cta-button, .re-submit { display: inline-block; background: var(--wine); color: var(--cream); padding: 0.85rem 1.75rem; border: 2px solid var(--wine); border-radius: 3px; font-weight: 600; font-size: 1rem; font-family: inherit; text-decoration: none; cursor: pointer; letter-spacing: 0.02em; transition: all 0.15s; }
.re-cta-button:hover, .re-submit:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.re-card, .re-calc { background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; margin: 1.5rem 0; box-shadow: 0 2px 4px rgba(77,19,28,0.05); }
.re-callout { background: var(--cream-2); border-left: 5px solid var(--brass); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.re-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.re-pros-cons > div { background: var(--surface); border: 1px solid var(--border); padding: 1.1rem 1.35rem; }
.re-pros-cons h3 { margin-top: 0; }
.re-pros-cons .re-pros h3 { color: var(--wine); } .re-pros-cons .re-cons h3 { color: var(--brass); }
@media (max-width: 600px) { .re-pros-cons { grid-template-columns: 1fr; } }
table.re-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
table.re-table th, table.re-table td { border: 1px solid var(--border); padding: 0.7rem 0.9rem; text-align: left; }
table.re-table th { background: var(--wine); color: var(--cream); font-weight: 600; }
table.re-table tr:nth-child(even) td { background: var(--cream); }
table.re-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
#lead-form { margin-top: 2.5rem; }
.re-lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; }
.re-field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.re-field label { font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; font-size: 0.94rem; }
.re-field input, .re-field textarea, .re-field select { padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: 3px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.re-field input:focus, .re-field textarea:focus, .re-field select:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122,30,44,0.15); }
.re-required { color: var(--wine); }
.re-status { margin-top: 1rem; min-height: 1.5rem; }
.re-status-ok { color: var(--wine); background: var(--cream-2); padding: 0.85rem 1.1rem; border-left: 4px solid var(--wine); }
.re-calc .re-calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .re-calc .re-calc-inputs { grid-template-columns: 1fr; } }
.re-calc-result { margin-top: 1.5rem; padding: 1.5rem; background: var(--cream-2); border-top: 3px solid var(--brass); }
.re-calc-result h3 { color: var(--wine); margin-top: 0; }
.re-calc-big { font-size: 2rem; font-weight: 700; color: var(--wine); font-family: Georgia, serif; }
footer.re-footer { background: var(--wine-deep); color: var(--cream-2); padding: 2rem 0; margin-top: 4rem; font-size: 0.85rem; }
footer.re-footer a { color: var(--brass); }
#disclaimers p { margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--cream-2); }
.re-internal-links { margin: 2rem 0; padding: 1.35rem 1.5rem; background: var(--cream-2); border-left: 4px solid var(--brass); }
.re-internal-links h3 { margin-top: 0; color: var(--wine); }
.re-internal-links ul { margin-bottom: 0; padding-left: 1.2rem; }
