/* legal.css — shared styles for /privacy and /sms-terms.
   Mirrors the homepage header/footer/brand tokens from index.php. */
:root {
  --brand-blue: #0455a5;
  --brand-blue-dark: #03396c;
  --accent-gold: #ffcc4d;
  --bg-page: #f2f3f7;
  --bg-card: #ffffff;
  --border-subtle: #e0e3ea;
  --text-main: #141826;
  --text-muted: #555b6b;
  --white: #ffffff;
  --font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; padding: 54px 0 0;
  font-family: var(--font-family);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

/* NAVBAR (matches index.php) */
header.site-header {
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
  color: var(--white);
  padding: 0 14px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  height: 54px; display: flex; align-items: stretch;
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: stretch; justify-content: space-between; gap: 10px; width: 100%; }
.nav-left { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; }
.nav-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; height: 100%; overflow: hidden; margin-right: -48px; z-index: 50; }
.nav-logo img { height: 62px; width: auto; display: block; filter: drop-shadow(3px 0px 5px rgb(0,46,89)); }
.nav-billboard { color: #e5f0ff; font-size: 1.06rem; white-space: nowrap; overflow: hidden; flex: 1; display: flex; align-items: center; padding-left: 60px; }
.nav-billboard i { color: var(--accent-gold); margin-right: 8px; }
.nav-toggle { background: transparent; border: none; color: #f9fafb; font-size: 1.6rem; cursor: pointer; display: none; height: 100%; align-items: center; justify-content: center; min-width: 44px; }
.nav-links { display: flex; align-items: stretch; gap: 0; flex-shrink: 0; white-space: nowrap; position: relative; height: 100%; }
.nav-links a { color: #f9fafb; text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0 14px; display: inline-flex; align-items: center; border-left: 1px solid rgba(255,255,255,0.15); align-self: stretch; }
.nav-links a:hover { background: #f9fafb; color: var(--brand-blue-dark); }

/* CONTENT */
.page-shell { width: min(860px, 100% - 32px); margin: 0 auto; padding: 28px 0 24px; }
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20,24,38,0.08);
  padding: 32px 36px 28px;
}
.legal-head { border-bottom: 3px solid var(--accent-gold); padding-bottom: 14px; margin-bottom: 20px; }
.legal-head h1 { margin: 0 0 6px; font-size: 2.1rem; line-height: 1.15; color: var(--brand-blue-dark); }
.effective-date { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.legal-card h2 { font-size: 1.3rem; color: var(--brand-blue-dark); margin: 1.8em 0 0.5em; }
.legal-card p, .legal-card ul { margin: 0.8em 0; }
.legal-card ul { padding-left: 1.3em; }
.legal-card li { margin-bottom: 0.35em; }
.legal-card a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-card a:hover { color: var(--brand-blue-dark); }
.legal-contact { font-style: normal; margin: 0.8em 0; }
.legal-keyword { display: inline-block; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; background: #fff4d4; border: 1px solid var(--accent-gold); border-radius: 8px; padding: 2px 12px; }
.legal-related { margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--border-subtle); font-size: 0.95rem; color: var(--text-muted); }

/* FOOTER (matches index.php) */
.site-footer { width: 100%; margin: 24px 0 16px; font-size: 0.85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.site-footer a { color: var(--brand-blue-dark); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 720px) {
  body { padding-top: 52px; }
  header.site-header { padding: 0 10px; height: 52px; }
  .nav-billboard { font-size: 0.94rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
    flex-direction: column; align-items: flex-start;
    padding: 10px 18px 14px; gap: 6px; display: none; z-index: 900; height: auto;
    border-radius: 0 0 16px 16px; box-shadow: 0 10px 24px rgba(15,23,42,0.6);
  }
  .nav-links.open { display: flex; }
  .nav-links a { align-self: stretch; padding: 9px 0; border-left: none; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 0.95rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { background: rgba(249,250,251,0.12); color: #f9fafb; }
  .page-shell { width: min(860px, 100% - 20px); padding-top: 16px; }
  .legal-card { padding: 22px 18px 20px; border-radius: 14px; }
  .legal-head h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .nav-billboard { display: none; }
}
