:root{
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --muted2:#94a3b8;
  --line: rgba(15,23,42,0.08);
  --p1:#2E6080;
  --p2:#375167;
  --p3:#5B92B5;
  --shadow: 0 10px 30px rgba(15,23,42,0.08);
  --r12: 12px;
  --r16: 16px;
  --max: 780px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  overflow-x:hidden;
  padding-top: 64px;
}

.bg-blobs{
  position: fixed;
  inset: 0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(900px 480px at 10% 10%, #3751671F, transparent 60%),
    radial-gradient(900px 520px at 92% 12%, #4A7A9B14, transparent 62%),
    radial-gradient(900px 520px at 50% 92%, #2A5F7A0D, transparent 62%);
}

a{ color: var(--p1); text-decoration:none; }
a:hover{ text-decoration:underline; }
.container{ max-width: var(--max); margin:0 auto; padding: 0 20px; }

/* Topbar */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index:50;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.topbar-inner{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: -0.2px;
  font-size: 18px;
  color: var(--ink);
  text-decoration:none;
}
.brandIcon{
  width: 22px; height: 22px;
  object-fit: contain;
  display:block;
}
.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav a{
  font-size: 13px;
  color: rgba(15,23,42,0.55);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration:none;
}
.nav a:hover{
  background: rgba(15,23,42,0.03);
  border-color: rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.78);
  text-decoration:none;
}

/* Page header (legal pages) */
.page-header{
  padding: 52px 0 36px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.page-header h1{
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: rgba(15,23,42,0.85);
}
.page-header .meta{
  color: var(--muted);
  font-size: 13px;
}

/* Legal page content */
.policy{
  padding: 44px 0 80px;
}
.policy h2{
  margin: 40px 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: rgba(15,23,42,0.80);
  letter-spacing: -0.2px;
}
.policy h2:first-child{ margin-top: 0; }
.policy h3{
  margin: 24px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(15,23,42,0.70);
}
.policy p{
  margin: 0 0 14px;
  color: rgba(15,23,42,0.65);
  font-size: 13.5px;
  line-height: 1.75;
}
.policy ul, .policy ol{
  margin: 0 0 14px;
  padding-left: 22px;
  color: rgba(15,23,42,0.65);
  font-size: 13.5px;
  line-height: 1.75;
}
.policy li{ margin-bottom: 6px; }
.policy strong{ color: rgba(15,23,42,0.78); font-weight: 700; }

.divider{
  border: none;
  border-top: 1px solid rgba(15,23,42,0.07);
  margin: 36px 0 0;
}

/* Footer */
footer{
  background: #f0f3f8;
  padding: 24px 0 38px;
  border-top: 1px solid rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.45);
  font-size: 12px;
}
.foot{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.foot a{ color: rgba(15,23,42,0.45); text-decoration:none; }
.foot a:hover{ color: rgba(15,23,42,0.70); }
.foot .links{ display:flex; gap: 14px; flex-wrap:wrap; }
.foot .contact{ display:grid; gap: 8px; text-align:right; }
.foot .contact a{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap: 6px;
  white-space:nowrap;
}
.mail{
  display:inline-grid;
  place-items:center;
  width: 14px; height: 14px;
  color: rgba(15,23,42,0.45);
  flex: 0 0 auto;
}

@media (max-width: 640px){
  .policy h2{ font-size: 15px; }
  .foot{ justify-content:center; text-align:center; }
  .foot .links{ justify-content:center; }
  .foot .contact{ text-align:center; }
  .foot .contact a{ justify-content:center; }
}
