*{margin:0;padding:0;box-sizing:border-box}

:root{
  --bg:#0a0a0a;
  --surface:#111111;
  --surface2:#161616;
  --border:#222222;
  --border2:#2a2a2a;
  --text:#ffffff;
  --text2:#a1a1a1;
  --text3:#666666;
  --accent:#4f6ef7;
  --accent2:#3b5bdb;
}

html{scroll-behavior:smooth}
body{
  min-height:100vh;
  background:var(--bg);
  color:var(--text);
  font-family:'Geist',sans-serif;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}

.legal-nav{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:58px;
  padding:0 40px;
  background:rgba(10,10,10,0.9);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.nav-left{
  display:flex;
  align-items:center;
}
.locale-switcher{
  position:relative;
  display:flex;
  align-items:center;
  margin-right:14px;
}
.locale-current{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  border:1px solid var(--border2);
  background:rgba(255,255,255,0.03);
  color:var(--text);
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
.locale-current:hover{background:rgba(255,255,255,0.06);border-color:#3a3a3a}
.locale-menu{
  position:absolute;
  top:40px;
  left:0;
  min-width:128px;
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:2px;
  border:1px solid var(--border2);
  border-radius:9px;
  background:rgba(17,17,17,0.96);
  box-shadow:0 18px 40px rgba(0,0,0,0.35);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.locale-menu[hidden]{display:none}
.locale-menu button{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  padding:7px 8px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--text2);
  font:500 13px 'Geist',sans-serif;
  cursor:pointer;
  text-align:left;
}
.locale-menu button:hover{background:rgba(255,255,255,0.06);color:var(--text)}
.nav-logo,.footer-logo{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--text);
  text-decoration:none;
  font-weight:700;
}
.logo-mark{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border-radius:7px;
  background:var(--accent);
}
.logo-mark svg{width:15px;height:15px;fill:#fff}
.logo-mark-footer{width:22px;height:22px;border-radius:5px}
.logo-mark-footer svg{width:12px;height:12px}
.nav-actions{display:flex;align-items:center;gap:8px}
.btn-primary,.btn-ghost{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  padding:7px 15px;
  border-radius:7px;
  font-size:13px;
  font-weight:600;
  transition:background .15s,border-color .15s,color .15s;
}
.btn-primary{background:var(--accent);color:#fff;border:1px solid transparent}
.btn-primary:hover{background:var(--accent2)}
.btn-ghost{color:var(--text2);border:1px solid var(--border2)}
.btn-ghost:hover{color:var(--text);border-color:#3a3a3a}

.legal-shell{
  width:min(920px,calc(100vw - 40px));
  margin:0 auto;
  padding:80px 0 96px;
}
.legal-hero{
  max-width:760px;
  margin-bottom:34px;
}
.eyebrow{
  margin-bottom:14px;
  color:var(--accent);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
h1{
  max-width:760px;
  margin-bottom:18px;
  font-size:clamp(34px,5vw,60px);
  line-height:1.04;
  letter-spacing:-1.8px;
}
.legal-hero p{max-width:640px;color:var(--text2);font-size:16px}
.legal-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:1px;
  margin:36px 0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--border);
}
.legal-grid a{
  padding:16px;
  background:var(--surface);
  color:var(--text2);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  transition:background .15s,color .15s;
}
.legal-grid a:hover{background:var(--surface2);color:var(--text)}
.legal-card{
  margin-top:18px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
}
.legal-card h2{
  margin-bottom:16px;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.5px;
}
.legal-card h3{
  margin:20px 0 8px;
  font-size:14px;
  color:var(--text);
}
.legal-card p,.legal-card li,.legal-card dd{
  color:var(--text2);
  font-size:14px;
}
.legal-card p+p{margin-top:12px}
.legal-card ul{padding-left:19px;display:flex;flex-direction:column;gap:7px}
.legal-card a{color:#9bbcff;text-decoration:none}
.legal-card a:hover{text-decoration:underline}
dl{display:flex;flex-direction:column;gap:16px}
dt{
  margin-bottom:4px;
  color:var(--text3);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mono{font-family:'Geist Mono',monospace;color:var(--text)}
.legal-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:28px 40px;
  border-top:1px solid var(--border);
  color:var(--text3);
  font-size:12px;
}
.footer-logo{color:var(--text2);font-size:13px}

@media(max-width:760px){
  .legal-nav{padding:0 20px}
  .nav-actions .btn-primary{display:none}
  .legal-shell{width:calc(100vw - 28px);padding-top:48px}
  .legal-grid{grid-template-columns:1fr 1fr}
  .legal-card{padding:22px}
  .legal-footer{padding:24px 20px}
}
