/* ============================================================
   MSN Dynamics — Legal pages stylesheet
   Shared by privacy-policy.html, terms-of-use.html, cookie-policy.html.
   Mirrors the brand palette and typography used on the home page
   (navy on light, Inter) so the legal pages feel native to the site.
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #f0f2f6;
  color: #0a1020;
  font-family: -apple-system, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Navigation ---------- */
.l-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 52px;
  background: rgba(8, 12, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.l-nav .nav-logo {
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: #fff; text-decoration: none;
}
.l-nav .nav-back {
  position: relative; cursor: pointer;
  font-size: 11px; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55); text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.l-nav .nav-back::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: #4ea3ff;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.l-nav .nav-back:hover { color: #fff; text-shadow: 0 0 12px rgba(78,163,255,0.5); }
.l-nav .nav-back:hover::after { transform: scaleX(1); }

/* ---------- Document layout ---------- */
.l-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 28px 96px;
}
.l-eyebrow {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(10,16,32,0.4); margin-bottom: 16px;
}
.l-title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 300; line-height: 1.06; letter-spacing: -0.02em;
  color: #0a1020; margin-bottom: 18px;
}
.l-updated {
  font-size: 12px; letter-spacing: 0.05em;
  color: rgba(10,16,32,0.45);
  padding-bottom: 28px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(10,16,32,0.12);
}
.l-intro {
  font-size: 15.5px; line-height: 1.85;
  color: rgba(10,16,32,0.66);
  margin-bottom: 44px;
}

/* ---------- Sections ---------- */
.l-section { margin-bottom: 40px; }
.l-section h2 {
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600; letter-spacing: -0.01em;
  color: #0a2558; margin-bottom: 14px;
}
.l-section h3 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  color: #0a1020; margin: 22px 0 8px;
}
.l-section p {
  font-size: 14.5px; line-height: 1.85;
  color: rgba(10,16,32,0.7);
  margin-bottom: 14px;
}
.l-section ul {
  list-style: none;
  margin: 4px 0 18px;
  padding: 0;
}
.l-section li {
  position: relative;
  font-size: 14.5px; line-height: 1.8;
  color: rgba(10,16,32,0.7);
  padding: 6px 0 6px 22px;
}
.l-section li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 5px; height: 5px; background: #1a4acc; border-radius: 1px;
}
.l-section a {
  cursor: pointer;
  color: #1a4acc; text-decoration: none;
  border-bottom: 1px solid rgba(26,74,204,0.3);
  transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
}
.l-section a:hover { color: #2f63e0; border-bottom-color: #4ea3ff; text-shadow: 0 0 12px rgba(78,163,255,0.30); }
.l-section strong { font-weight: 600; color: #0a1020; }

/* Definition-style table for cookies */
.l-table {
  width: 100%; border-collapse: collapse; margin: 8px 0 22px;
  font-size: 13.5px;
}
.l-table th, .l-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid rgba(10,16,32,0.1);
  vertical-align: top; color: rgba(10,16,32,0.72);
}
.l-table th {
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(10,16,32,0.45); font-weight: 600;
}

/* Callout for legal/trademark notices */
.l-note {
  background: #fff;
  border: 1px solid rgba(10,37,88,0.12);
  border-left: 3px solid #1a4acc;
  padding: 20px 24px; border-radius: 4px;
  margin: 8px 0 24px;
}
.l-note p { margin-bottom: 8px; }
.l-note p:last-child { margin-bottom: 0; }

/* ---------- Footer (matches home page) ---------- */
.l-footer {
  background: #06090f;
  padding: 32px 52px;
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  justify-content: space-between; align-items: center;
}
.l-footer .ft-logo {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.l-footer .ft-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.l-footer .ft-legal a {
  position: relative; cursor: pointer;
  font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.l-footer .ft-legal a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: #4ea3ff;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.l-footer .ft-legal a:hover { color: #fff; text-shadow: 0 0 12px rgba(78,163,255,0.5); }
.l-footer .ft-legal a:hover::after { transform: scaleX(1); }
.l-footer .ft-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.l-footer .ft-tm { font-size: 10px; color: rgba(255,255,255,0.28); }
.l-footer .ft-copy { font-size: 10px; color: rgba(255,255,255,0.18); }

@media (max-width: 768px) {
  .l-nav { padding: 16px 24px; }
  .l-wrap { padding: 52px 22px 72px; }
  .l-footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .l-footer .ft-meta { text-align: left; }
}
