/* =====================================================
   TVR LOGISTICS — legal.css
   Styles for /privacy.html and /terms.html
   Palette follows styles.css: White | Black | Turquoise rgb(101,151,152)
   ===================================================== */

.legal-page { background: #fbfcfc; }

/* ---------- HERO ---------- */
.legal-hero {
  background: #0d1f22;
  padding: 64px 0 52px;
  border-bottom: 3px solid rgb(101,151,152);
}
.legal-hero__eyebrow {
  color: rgb(101,151,152);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 18px;
}
.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: #90a5a8;
  font-size: .88rem;
}
.legal-hero__meta i { color: rgb(101,151,152); margin-right: 6px; }

/* ---------- LAYOUT ---------- */
.legal-main { padding: 46px 0 80px; }
.legal-container { max-width: 900px; }

.legal-body {
  color: #33403f;
  font-size: 1rem;
  line-height: 1.75;
}
.legal-body > *:first-child { margin-top: 0; }

/* ---------- DRAFT NOTICE ---------- */
.legal-draft {
  background: #fff6f4;
  border: 1px solid #e6b3a8;
  border-left: 4px solid #b23c26;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 40px;
}
.legal-draft p { color: #6b3225; font-size: .92rem; line-height: 1.65; margin: 0; }
.legal-draft strong { color: #b23c26; }
.legal-draft i { color: #b23c26; margin-right: 4px; }

/* ---------- HEADINGS ---------- */
.legal-body h2 {
  color: #0d1f22;
  font-size: 1.32rem;
  line-height: 1.3;
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid #dfe8e7;
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { color: #14302f; font-size: 1.06rem; margin: 30px 0 10px; }
.legal-body h4 { color: #14302f; font-size: .97rem; margin: 22px 0 8px; }

/* ---------- TEXT ---------- */
.legal-body p { margin-bottom: 15px; }
.legal-body strong { color: #14302f; font-weight: 700; }
.legal-body em { font-style: italic; }
.legal-body a { color: rgb(72,120,121); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: rgb(101,151,152); }
.legal-body hr { border: 0; border-top: 1px solid #dfe8e7; margin: 36px 0; }

.legal-body ul, .legal-body ol { margin: 0 0 18px 0; padding-left: 24px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 8px; }
.legal-body li::marker { color: rgb(101,151,152); }

.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86em;
  background: #eef3f2;
  border: 1px solid #dde7e6;
  border-radius: 4px;
  padding: 1px 5px;
  color: #2b4746;
}

/* ---------- TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid #dfe8e7;
  border-radius: 8px;
  background: #fff;
}
.legal-body table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.legal-body th, .legal-body td {
  text-align: left;
  padding: 11px 15px;
  border-bottom: 1px solid #e9efee;
  vertical-align: top;
  line-height: 1.55;
}
.legal-body th {
  background: #f0f5f4;
  color: #4a5f5e;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid #dfe8e7;
}
.legal-body tr:last-child td { border-bottom: 0; }

/* ---------- REVIEW / CONFIRMATION NOTES ---------- */
.legal-body blockquote {
  background: #f2f7f6;
  border: 1px solid #d5e3e1;
  border-left: 4px solid rgb(101,151,152);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: #3d4f4e;
  font-size: .93rem;
}
.legal-body blockquote p:last-child { margin-bottom: 0; }
.legal-body blockquote strong { color: #24413f; }

.legal-body blockquote.review-note--confirm {
  background: #fdf7ec;
  border-color: #e8d5ad;
  border-left-color: #b3812a;
  color: #5c4718;
}
.legal-body blockquote.review-note--confirm strong { color: #8a6318; }

/* ---------- PLACEHOLDERS AWAITING BUSINESS INPUT ---------- */
.needs-input {
  background: #fdf0cd;
  color: #7a5a10;
  border: 1px dashed #cfa845;
  border-radius: 4px;
  padding: 0 6px;
  font-size: .93em;
  font-weight: 600;
  font-style: normal;
}
.legal-hero .needs-input { background: rgba(255,214,102,.16); color: #f0cf7d; border-color: rgba(240,207,125,.5); }

/* ---------- CROSSLINK ---------- */
.legal-crosslink {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #dfe8e7;
  color: #6b7c7b;
  font-size: .92rem;
}
.legal-crosslink a { color: rgb(72,120,121); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-crosslink a:hover { color: rgb(101,151,152); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .legal-hero { padding: 44px 0 36px; }
  .legal-main { padding: 32px 0 60px; }
  .legal-body { font-size: .96rem; }
  .legal-body h2 { font-size: 1.18rem; margin-top: 36px; }
}

/* ---------- INTERNAL NOTE (delete with the draft banner when final) ---------- */
.internal-note {
  display: block;
  margin-top: 48px;
  background: #f5f2ea;
  border: 1px dashed #c9b98c;
  border-radius: 8px;
  padding: 20px 24px;
  color: #5c5236;
  font-size: .9rem;
}
.internal-note__label {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8a7530;
  margin-bottom: 14px;
}
.internal-note__label i { margin-right: 6px; }
.internal-note h3, .internal-note h2 { color: #4c4429; border-top: 0; padding-top: 0; margin-top: 0; font-size: 1rem; }
.internal-note p { margin-bottom: 12px; }
.internal-note strong { color: #4c4429; }

/* ---------- SMS DISCLOSURE BLOCK (sms-terms.html) ---------- */
.sms-disclosures {
  background: #f2f7f6;
  border: 1px solid #bcd6d2;
  border-left: 4px solid rgb(101,151,152);
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
  margin: 0 0 34px;
}
.sms-disclosures__title {
  color: rgb(58,102,103);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.legal-body .sms-disclosures ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-body .sms-disclosures li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #26403f;
  font-size: .97rem;
  line-height: 1.6;
}
.legal-body .sms-disclosures li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(101,151,152);
}
.legal-body .sms-disclosures strong { color: #14302f; }
.legal-body .sms-disclosures a {
  color: rgb(58,102,103);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-body .sms-disclosures a:hover { color: rgb(101,151,152); }
@media (max-width: 600px) {
  .sms-disclosures { padding: 18px 18px; }
  .legal-body .sms-disclosures li { font-size: .92rem; }
}
