/* Site-wide additions. Loaded after each page's own styles so these take precedence. */

:root {
  --gold-text: #7E5F17;   /* 5.4:1 on the page background; the brand gold (#C79A3B) is only 2.4:1 */
  --teal-text: #276B69;   /* 5.6:1 on the page background; the brand teal is 4.5:1 */
}

/* ---------- keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-text);
  outline-offset: 2px;
}
.contact a:focus-visible, .contact button:focus-visible, footer a:focus-visible, footer button:focus-visible,
.consent-banner a:focus-visible, .consent-banner button:focus-visible {
  outline-color: #DDB668;
}
.zoho-form-wrap a:focus-visible, .zoho-form-wrap input:focus-visible, .zoho-form-wrap textarea:focus-visible,
.zoho-form-wrap select:focus-visible, .zoho-form-wrap button:focus-visible {
  outline: 3px solid var(--teal-text);
  outline-offset: 2px;
}

/* ---------- contrast: text colors ---------- */
.eyebrow { color: var(--teal-text); font-size: 0.8rem; }
.contact .eyebrow, footer .eyebrow { color: #DDB668; }
.blog-back, .blog-card .read-more, .ty-urgent a { color: var(--teal-text); }
.hero h1 em { color: #8F6A17; }
.tl-step .stat { color: var(--gold-text); font-size: 0.8rem; }
.status-wait { color: rgba(255, 255, 255, 0.78); }
.docket-sub { color: rgba(255, 255, 255, 0.72); }
.docket-tabnum { color: rgba(255, 255, 255, 0.6); }

/* ---------- minimum text size (12px) ---------- */
.brand-sub { font-size: 0.75rem; }
.docket-tag, .status-pill, .critical-flag { font-size: 0.75rem; }

/* ---------- the form: brand typeface, and never inherit white text from the navy section ---------- */
.zoho-form-wrap { font-family: 'Inter', system-ui, sans-serif; }

/* ---------- logo ---------- */
.mark-img { width: 34px; height: 34px; }

/* ---------- content additions ---------- */
.stat-source { margin: 28px 0 0; max-width: 78ch; font-size: 0.85rem; line-height: 1.55; color: var(--slate); text-align: left; }
.stat-source a { color: var(--teal-text); text-decoration: underline; }
.section-head .contact-alt, .contact-alt { margin: 16px 0 0; max-width: 62ch; font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.85); text-align: left; }
.contact-alt a { color: #DDB668; text-decoration: underline; }
.contact-info a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.blog-byline { margin: 8px 0 0; font-size: 0.9rem; color: var(--slate); }

/* ---------- footer links ---------- */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 4px 28px 18px; font-size: 0.875rem; }
.footer-links a, .footer-links button {
  color: rgba(255, 255, 255, 0.85); background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.footer-links a:hover, .footer-links button:hover { color: #fff; }

/* ---------- mobile navigation ---------- */
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-left: 4px;
  background: transparent; border: 1px solid var(--line, rgba(21, 34, 51, 0.12)); border-radius: 6px;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--navy, #0B1F4A); border-radius: 2px; transition: transform .15s, opacity .15s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  header nav { position: relative; }
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  header .navlinks { display: none; }
  header .navlinks.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 70;
    background: var(--paper, #F7F4EE); padding: 6px 28px 14px;
    border-bottom: 1px solid var(--line, rgba(21, 34, 51, 0.12)); box-shadow: 0 18px 30px -18px rgba(11, 31, 74, 0.35);
  }
  header .navlinks.open a { padding: 15px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line, rgba(21, 34, 51, 0.12)); }
  header .navlinks.open a:last-child { border-bottom: 0; }
  header .nav-cta { padding: 10px 14px; font-size: 0.85rem; white-space: nowrap; }
}
@media (max-width: 400px) {
  header .nav-cta { padding: 9px 11px; font-size: 0.8rem; }
  header .brand { font-size: 1rem; }
}

/* ---------- consent banner ---------- */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 14px;
  display: flex; justify-content: center; pointer-events: none;
}
.consent-inner {
  pointer-events: auto; width: 100%; max-width: 760px; background: #0B1F4A; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; padding: 18px 20px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5); font-family: 'Inter', system-ui, sans-serif;
}
.consent-inner h2 { margin: 0 0 6px; font: 600 1.05rem/1.3 'Inter', system-ui, sans-serif; letter-spacing: 0; color: #fff; }
.consent-inner p { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.consent-inner a { color: #DDB668; text-decoration: underline; }
.consent-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.consent-btn {
  flex: 1 1 140px; min-height: 44px; padding: 10px 18px; border-radius: 6px; cursor: pointer;
  font: 600 0.95rem 'Inter', system-ui, sans-serif; border: 2px solid #DDB668;
}
.consent-accept, .consent-decline { background: #DDB668; color: #0B1F4A; }   /* equal prominence on purpose */
.consent-btn:hover { background: #fff; border-color: #fff; }

/* ---------- 404 page ---------- */
.nf { text-align: center; padding: 110px 0 120px; }
.nf h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--navy); margin: 0 0 14px; }
.nf p { color: var(--slate); max-width: 52ch; margin: 0 auto 26px; }
.nf .nf-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- legal pages ---------- */
.legal-meta { color: var(--slate); font-size: 0.95rem; }
.blog-article table { border-collapse: collapse; width: 100%; margin: 18px 0 26px; font-size: 0.95rem; }
.blog-article th, .blog-article td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line, rgba(21, 34, 51, 0.12)); }
.blog-article th { background: rgba(11, 31, 74, 0.05); color: var(--navy); }
.table-scroll { overflow-x: auto; }

@media print { .consent-banner, .nav-toggle, .footer-links button { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .nav-toggle-bar { transition: none; } }
