/* Shared styles for the Connect Filter policy pages (terms, privacy, etc.).
   Colors and fonts match the homepage. */
:root {
  --primary: #0a192f;
  --surface: #f7f9fb;
  --ink: #191c1e;
  --muted: #44474d;
  --line: #c5c6cd;
  --accent: #5d2fa3;
  --mark: #fff3a3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--accent); }
a:hover { color: var(--primary); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(197,198,205,.4); }
.site-header .inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header img { height: 40px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-header nav a:hover { color: var(--primary); }
.site-header nav a.login { background: var(--primary); color: #fff; padding: 9px 22px; border-radius: 999px; font-weight: 700; }
.site-header nav a.login:hover { opacity: .9; color: #fff; }

/* Page content */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-family: "Noto Serif", Georgia, serif; color: var(--primary); font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; }
.legal .effective { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-family: "Noto Serif", Georgia, serif; color: var(--primary); font-size: 23px; line-height: 1.3; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; color: var(--primary); margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .notice { font-weight: 700; text-transform: uppercase; font-size: 16px; line-height: 1.55; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 10px; padding: 16px 18px; }
.legal .notice p { margin: 0 0 10px; }
.legal .notice p:last-child { margin: 0; }
.legal .caps { text-transform: uppercase; font-size: 15px; }
.legal .table-wrap { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(197,198,205,.6); }
.legal th { background: var(--primary); color: #fff; font-weight: 600; }
.legal address { font-style: normal; }
mark { background: var(--mark); padding: 0 3px; border-radius: 3px; }

/* Footer (matches the homepage footer) */
.site-footer { background: var(--surface); border-top: 1px solid rgba(197,198,205,.4); }
.site-footer .inner { max-width: 1100px; margin: 0 auto; padding: 56px 20px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 13px; color: var(--muted); }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col p { margin: 0; line-height: 1.6; }
.site-footer .brand img { height: 52px; width: auto; }
.site-footer h4 { margin: 0 0 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--primary); text-decoration: underline; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(197,198,205,.3); padding-top: 20px; font-size: 11px; }
@media (max-width: 860px) { .site-footer .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .inner { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .site-header nav { gap: 14px; }
  .site-header nav a.hide-small { display: none; }
  .legal { padding-top: 32px; }
}
